Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329950 - 'Close Others' and 'Close All' may cause bundle activation
Summary: 'Close Others' and 'Close All' may cause bundle activation
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 4.1 M4   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 16:43 EST by Remy Suen CLA
Modified: 2010-11-10 20:28 EST (History)
0 users

See Also:


Attachments
StackRenderer patch v1 (1.17 KB, patch)
2010-11-10 20:27 EST, Remy Suen CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-11-10 16:43:06 EST

    
Comment 1 Remy Suen CLA 2010-11-10 16:44:59 EST
Whoops, hit enter by mistake.

1. Ctrl+3 > Console
2. Ctrl+3 > Plug-ins
3. Activate the 'Declaration' view. It should be the third one out of the five.
4. Shutdown.
5. Restart.
6. Add a breakpoint to CompatibilityPart's constructor.
7. Right-click on the 'Plug-ins' view's tab > Close Others
8. The breakpoint is hit twice, once for the 'Console' view and the second time for the 'Plug-ins' view.
Comment 2 Remy Suen CLA 2010-11-10 19:52:33 EST
Shortened versions:
1. Add a breakpoint to CompatibilityPart's constructor.
2. Right-click on the 'Declaration' view's tab > Close Others
3. The breakpoint is hit twice, once for the 'Javadoc' view and the second time
for the 'Declaration' view. Only the 'Declaration' view should have been instantiated.

1. Add a breakpoint to CompatibilityPart's constructor.
2. Right-click on the 'Declaration' view's tab > Close All
3. The breakpoint is hit twice, once for the 'Javadoc' view and the second time for the 'Declaration' view. Neither of these two views should have been instantiated.
Comment 3 Remy Suen CLA 2010-11-10 20:27:17 EST
Created attachment 182866 [details]
StackRenderer patch v1

Patch to place the selected element as the last element to hide so that we don't inadvertently change our selection (and cause part creation) when hiding the parts.
Comment 4 Remy Suen CLA 2010-11-10 20:28:41 EST
Fix released to CVS HEAD.