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

Bug 2110

Summary: [WB State] Preferences: Should remember expanded state (1GHBOVE)
Product: [Eclipse Project] Platform Reporter: Nick Edgar <n.a.edgar>
Component: UIAssignee: Knut Radloff <knut_radloff>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 Keywords: usability
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows 98   
Whiteboard:

Description Nick Edgar CLA 2001-10-10 22:26:39 EDT
- Window / Preferences
- Expand Java 
- Hit OK
- Window / Preferences
- the expanded state is lost

It should remember the expanded state.

NOTES:
Comment 1 DJ Houghton CLA 2001-10-29 17:52:02 EST
PRODUCT VERSION:
0.9

Comment 2 Nick Edgar CLA 2002-01-27 13:58:47 EST
*** Bug 2622 has been marked as a duplicate of this bug. ***
Comment 3 Nick Edgar CLA 2002-02-01 15:37:28 EST
Should do the following.
Save the selected page (its id) between invocations in the same session. 
Save the expanded state between invocations in the same session. 
Do not save the selected page between sessions. 
This avoids eager plugin loading since the default page ("Workbench") is 
provided by the Workbench. (It also avoids having to handle missing plugins.) 
Do not save the expanded state between invocations in the same session.
The expanded state is uninteresting if the selected page is not saved. 
Comment 4 Knut Radloff CLA 2002-02-04 16:44:48 EST
Bug 7790 is a duplicate of this bug and was fixed today.
In 7790 Nick writes that the active page should be persisted across sessions.
I fixed this bug (and bug 8981) to only remember the last page within one 
session.
The advantage of persisting it is that the fix is localized in the 
PreferencesDialog. My fix adds API to the PreferencesDialog to return the 
current page id and to create a PreferencesDialog using a page id for the 
default page.
The disadvantage of persisting the last visible page is the eager plugin 
loading pointed out by Nick above.
Comment 5 Tod Creasey CLA 2002-02-05 09:05:00 EST
Fixed as a result of fixes to http://bugs.eclipse.org/bugs/show_bug.cgi?id=7790

*** This bug has been marked as a duplicate of 7790 ***