Bug 191724

Summary: [regression] Refresh expanded folder under filter collapses folder and changes selection
Product: [Tools] Target Management Reporter: Kevin Doyle <kjdoyle>
Component: RSEAssignee: David McKnight <dmcknigh>
Status: RESOLVED DUPLICATE QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: major    
Priority: P3 CC: dmcknigh, kmunir
Version: 2.0   
Target Milestone: 2.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kevin Doyle CLA 2007-06-08 11:23:38 EDT
If you expand a folder under a filter and refresh that folder the folder is collapsed and the selection changes to the filter.  This does not happen on local, but happens on remote connections.

This does not happen in RC2, but happens with my dev driver synched up.

-----------Enter bugs above this line-----------
TM 2.0RC2 Testing
installation : eclipse-SDK-3.3RC3
RSE install  : Dev Driver
java.runtime : Sun 1.5.0_11-b03
os.name:     : Windows XP, Service Pack 2
------------------------------------------------
Comment 1 David McKnight CLA 2007-06-08 13:29:07 EDT
The regression is caused by the refreshing of corresponding filters in the remote refresh event handling of SystemView.  This refresh of the filters seems to be altering the selection/expansion state.
Comment 2 David McKnight CLA 2007-06-08 14:14:43 EDT
Although the filter refresh part of this is new, that should not be causing the selection/expansion state to change.  This is a duplicate of the other selection/expansion problems we've been seeing - using deferred queries, we lose expansion/selection state.

The reason this appears as a regression is because in RC2 we didn't have the fix to update the filter on a refresh of an object (so refreshing a changed file under a filter wouldn't result in the tree object being updated).  This should be resolve once we resolve Bug #187739.

*** This bug has been marked as a duplicate of bug 187739 ***
Comment 3 Martin Oberhuber CLA 2008-08-13 13:20:56 EDT
[target cleanup] 2.0 RC3 was the original target milestone for this bug