Bug 11509 - [Workbench] Workbench does not remember minimize state
Summary: [Workbench] Workbench does not remember minimize state
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P4 enhancement (vote)
Target Milestone: 3.0 M2   Edit
Assignee: Simon Arsenault CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-16 14:34 EST by Simon Arsenault CLA
Modified: 2003-06-16 15:12 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 Simon Arsenault CLA 2002-03-16 14:34:47 EST
Build 2002-03-05

When I exit eclipse with some windows minimized, when I restart eclipse all 
windows open as non-minimized.
Comment 1 Kevin Haaland CLA 2002-05-01 18:11:53 EDT
Make sure to check the maximimzed case as well.
Comment 2 Nick Edgar CLA 2003-02-11 08:40:30 EST
Simon can you check in the latest build?  This may have been fixed.
Comment 3 Simon Arsenault CLA 2003-02-11 10:55:41 EST
This has not been fixed using the latest build. If you have a window minimized 
on shutdown, on start-up it will be opened, not minimized. Also, it seems to 
ignore the maximize state when the window is minized. For example:
- start the workbench
- make sure you have 2 or more windows open
- mazimize all of them
- minimize on window
- shutdown the workbench
- startup the workbench again

Notice the window that was not minimized is restore opened and maximized 
(correct). But the one minimized is restored open (wrong, it should be 
minimized) and its not longer in the maximize state.
Comment 4 Nick Edgar CLA 2003-02-13 11:10:26 EST
Defer (unless you feel strongly about this and want to take it for 2.1).
Comment 5 Simon Arsenault CLA 2003-06-11 15:13:52 EDT
We can do one of the following:

1) Remember the minimized state and restore the window as minimized. We would 
need to remember also when unminimizing, if the window should be in the 
maximized or normal state. Also, we need to remember the normal state bounds 
and handle multiple monitors. See bug 37909 for details about this for the 
maximized case.

One potential problem is what if all the windows were minimized on shutdown? On 
startup, no window would be visible. That's not good. At the very least, we 
could make sure at least one window in not minimized (if all are minimized, 
then one would be set as unminimized...probably the window which has focus last 
before shutdown)

2) We could just not restore a window back into minimized state. It would 
restore back into the maximized or normal state depending on what state it was 
in when minimized before shutdown.
Comment 6 Simon Arsenault CLA 2003-06-16 15:12:33 EDT
Decided to go with option number two from comment 5 above. It's simpler and 
should statisfy most needs.