Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358757

Summary: Detached windows loose their size when you switch perspectives
Product: [Eclipse Project] Platform Reporter: Dean Roberts <dean.t.roberts>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 4.2   
Target Milestone: 4.2 M3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Dean Roberts CLA 2011-09-23 14:11:33 EDT
1) Open a Java perspective
2) Detach the package explorer
3) Open a Debug perspective
4) Switch back to the Java perspective.

Notice that the detached package explorer comes up in its smallest size.
Comment 1 Eric Moffatt CLA 2011-09-26 10:45:32 EDT
This is a result of a GTK issue that was affecting the restore of minimized stacks; unless the control actually changed size when reparented back to the main presentation the tabs were not being redrawn. The fix was to set the size of the control to (0,0) when it was being reparented to 'limbo' so that it was guaranteed to change size when it was put back.

Shells are, however, not contained in a Composite so there size shouldn't change in either case...fix coming.
Comment 2 Eric Moffatt CLA 2011-09-26 10:53:22 EDT
Pushed in >20110926.

commit fc3c0393f4d480c20b6143eef8e6cd6579d327c9

Nice pickup Dean !
Comment 3 Eric Moffatt CLA 2011-10-26 13:41:31 EDT
Verified in I20111025-2000.