Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 58926 - Non-visible views are being activated
Summary: Non-visible views are being activated
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P1 critical (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Stefan Xenos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-16 15:59 EDT by Pascal Rapicault CLA
Modified: 2004-04-29 16:13 EDT (History)
1 user (show)

See Also:


Attachments
Example plugin (15.31 KB, application/zip)
2004-04-16 16:00 EDT, Pascal Rapicault CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2004-04-16 15:59:54 EDT
I have the attached plugin loaded as source in my workspace.

Whenever I launch a runtime-workbench (which opens on the resource perspective),
the view provided by this plugin is not visible (only the tab is being
displayed) however the plugin is being started!

I'm marking as critical since this is a regression from 2.1.
Comment 1 Pascal Rapicault CLA 2004-04-16 16:00:51 EDT
Created attachment 9606 [details]
Example plugin

This plugin is nothing but the plugin with view template provided by pde.
Comment 2 Michael Van Meekeren CLA 2004-04-16 16:30:34 EDT
We editors also being activated Pascal?
Comment 3 Pascal Rapicault CLA 2004-04-16 16:35:29 EDT
I don't know as I did not have any editors open.
Comment 4 Stefan Xenos CLA 2004-04-17 04:41:35 EDT
Hmm... I found a possible cause. PartTabFolder.showPart(...) contains code to
always select the first part that gets inserted.

This may cause the first view in a folder to get eagerly loaded, even if it
isn't visible.
Comment 5 Stefan Xenos CLA 2004-04-29 16:13:29 EDT
Fixed in head. I tested this with your plugin, and it seems to work fine now.