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

Bug 160916

Summary: [CommonNavigator] Project Explorer Filter filter deselects everything it hides
Product: [Eclipse Project] Platform Reporter: Michael Hanner <mhanner>
Component: UIAssignee: Michael D. Elder <mdelder>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: robertma
Version: 3.2.1   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michael Hanner CLA 2006-10-13 14:51:49 EDT
PROBLEM:
When used, that little filter text box at the top of the Filters dialog deselects all the filters it hides.

STEPS:
1. From the Project Explorer, select Filters... from the view menu
A filters dialog appears
2. Scroll through the list on the Available filters tab; there are many entries, and many checked.
3. Use the filter-box at the top to restrict the list
4. Deselect the one of the filters
5. OK to return to the PE, which may be showing some new stuff now.
6. Return to the Filters dialog using the view menu again.

The default settings for the PE filters have been removed.
Comment 1 Michael D. Elder CLA 2007-04-22 17:32:41 EDT
The CheckboxTreeViewer was using only SWT items to maintain checked state, and when the tree was filtered, the SWT widgets were removed. That results in the loss of the checked state.

To work around this, the check state has to be maintained elsewhere, and restored after each filter event on the tree. I have opened bug 183539 to raise the issue with JFace.

Fix available in > 20070422.
Comment 2 Michael D. Elder CLA 2007-05-04 11:20:49 EDT
*** Bug 185556 has been marked as a duplicate of this bug. ***