Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323832 - [UI] SashContainers are not being removed when unneeded
Summary: [UI] SashContainers are not being removed when unneeded
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 10:21 EDT by Eric Moffatt CLA
Modified: 2010-08-27 10:26 EDT (History)
0 users

See Also:


Attachments
Patch that auto-removes sash containers with only one element (7.77 KB, patch)
2010-08-27 10:24 EDT, Eric Moffatt CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Moffatt CLA 2010-08-27 10:21:38 EDT
Start with a fresh workspace
Drag the Problems view to the right of its current stack
Drag it back...

The problem is that the original drag created an MPartSashContainer to host the new stack but the drag back doesn't remove it (i.e. after dragging the Problems view back to its original stack there's now an MPSC with *only* the one stack in it).
Comment 1 Eric Moffatt CLA 2010-08-27 10:24:56 EDT
Created attachment 177618 [details]
Patch that auto-removes sash containers with only one element
Comment 2 Eric Moffatt CLA 2010-08-27 10:26:04 EDT
Committed in >20100827. Applied the patch.