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

Bug 105480

Summary: [RCP] [Workbench] Initial shell size of RCP app not restored to previous state
Product: [Eclipse Project] Platform Reporter: Claude Montpetit <claude>
Component: UIAssignee: Boris Bokowski <bokowski>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P5 Keywords: helpwanted
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Claude Montpetit CLA 2005-07-28 12:56:52 EDT
Using eclipse 3.1, Build id: I20050627-1435

Wizard-sample RCP app does not open its shell in the previously closed location.
There are in fact 2 issues:

 1. The initial size of the workbench window is always set to the size that is
set in preWindowOpen (configurer.setInitialSize). The previous size is never
used. This problem was not in 3.0.

 2. The window position increases each time the app is launched. For example,
initially it is openned at (0,0), next time at (100, 100), ...
Not sure about the numbers though. This problem may have been there in 3.0 but I
am not sure.
Comment 1 Nick Edgar CLA 2005-08-02 11:32:09 EDT
Are you saving the workbench state between sessions, e.g. using
IWorkbenchConfigurer.setSaveAndRestore(true)?
Comment 2 Nick Edgar CLA 2006-03-15 11:24:32 EST
Reassigning bugs in component areas that are changing ownership.
Comment 3 Kevin McGuire CLA 2007-06-21 17:10:24 EDT
Is this still a problem?
Comment 4 Boris Bokowski CLA 2007-09-27 10:11:04 EDT
Closing because you didn't respond. Feel free to reopen with more information.