Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358757 - Detached windows loose their size when you switch perspectives
Summary: Detached windows loose their size when you switch perspectives
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 4.2 M3   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 14:11 EDT by Dean Roberts CLA
Modified: 2011-10-26 13:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.