Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 64140 - [Viewers] Tree expansion state not maintained
Summary: [Viewers] Tree expansion state not maintained
Status: RESOLVED DUPLICATE of bug 113675
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Boris Bokowski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 11:28 EDT by Randy Hudson CLA
Modified: 2007-05-30 09:21 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 Randy Hudson CLA 2004-05-26 11:28:24 EDT
Display a working set in the Package explorer such that:

-- AClosedProject
+  Some Java Project
-  Another Project, expanded
|  -  A src folder
|  |-+ org.package1
|  --+ org,package2
+  A third Java project

Now, change the filter such that closed projects are filtered.  The "src" 
folder gets collapsed for no reason.  It should remain in its expanded state.

The same test can be performed with the "Another Project, expanded" project in 
its collapsed state.  After changing the filter, if you re-expand that project, 
the src folder should be expanded too because windows remembers this kind of 
state.  Instead it is collapsed.

The same bug occurs when removing the closed-projects filter.
Comment 1 Randy Hudson CLA 2004-06-17 13:49:55 EDT
This bug may also affect the "New..." Dialog.

If you expand "Java", don't see what you are looking for, and then select "Show 
all Wizards", Java is collapsed and you have to re-expand.
Comment 2 Randy Hudson CLA 2005-04-29 14:47:17 EDT
Yet another expansion state bug.

1) Display incoming changes by commit sets.
2) Expand the first commit set, preferably with changes affecting multiple projects.
3) Select the changes for the first project and choose "Update" action.

The entire remaining tree gets expanded 2 or 3 levels deep (not all items are
expanded, it seems that the first child of each treeitem is expanded).  Collapse
all of the treeitems and repeat for every incoming change.
Comment 3 Boris Bokowski CLA 2007-05-30 09:21:19 EDT
Marking as a duplicate of 113675 because the newer bug has more information about what causes this.

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