Bug 15295

Summary: Packages view: When working set is selected, can't expand compilation units
Product: [Eclipse Project] JDT Reporter: Johan Compagner <jcompagner>
Component: UIAssignee: Dani Megert <daniel_megert>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: 2.0 M6   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Johan Compagner CLA 2002-05-06 03:54:43 EDT
When i select a working set then i can't expand a java compilation unit
in the tree When the file is loaded in an editor!

I can expand a Java tree item when the java file is not in an editor when i 
double click on it to load the tree of the java file collapse and i can't 
expand any more (no [+])
Comment 1 Johan Compagner CLA 2002-05-06 03:56:10 EDT
sorry forgot to mention the build:
i build of 0502

Comment 2 Erich Gamma CLA 2002-05-11 17:26:44 EDT
It works when the working set contains projects/packages, but it doesn't work 
when the working set contains Compilation units (e.g. 
junit.framework.TestCase.java).
You can expand TestCase.java when it isn't opened in the editor, once it is 
opened and you click plus then it is gone. I suspect that the working set 
filter doesn't know about working copy elements and hence filters out the 
children of a CU.

Interestingly the problem also shows up when reconciling is turned off.
Comment 3 Dani Megert CLA 2002-05-15 10:22:33 EDT
Tested against 20020514 and it worked.
Have to ask EG about exact steps.
Comment 4 Dani Megert CLA 2002-05-15 12:46:28 EDT
Could reproduce with 20020508.
It seems to be fixed in 20020514. The bug was probably caused by the underlying
infrastructure.
Comment 5 Dani Megert CLA 2002-05-15 12:46:45 EDT
Setting target to M6