Bug 2110 - [WB State] Preferences: Should remember expanded state (1GHBOVE)
Summary: [WB State] Preferences: Should remember expanded state (1GHBOVE)
Status: RESOLVED DUPLICATE of bug 7790
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 98
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Knut Radloff CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
: 2622 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:26 EDT by Nick Edgar CLA
Modified: 2002-02-05 09:05 EST (History)
0 users

See Also:


Attachments

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