Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 267002 - [working sets] Assign Working Sets dialog does not show new working set
Summary: [working sets] Assign Working Sets dialog does not show new working set
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M6   Edit
Assignee: Raksha Vasisht CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-04 07:05 EST by Markus Keller CLA
Modified: 2009-03-06 08:54 EST (History)
1 user (show)

See Also:


Attachments
Screenshot (50.43 KB, image/png)
2009-03-04 07:05 EST, Markus Keller CLA
no flags Details
Patch with the fix. The bug was not from 190438, but because addNewWorkingSet(workingSet), was always called before manager.addWorkingSet(workingSet) when new working sets were created . Swapped them (22.19 KB, patch)
2009-03-05 09:25 EST, Raksha Vasisht CLA
no flags Details | Diff
Pls take this one.The bug was not from 190438, but because addNewWorkingSet(workingSet), was always called before manager.addWorkingSet(workingSet) when new working sets were created. Swapped them. (1.00 KB, patch)
2009-03-05 09:29 EST, Raksha Vasisht CLA
markus.kell.r: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2009-03-04 07:05:29 EST
Created attachment 127463 [details]
Screenshot

I20090303-0800, probably introduced with bug 190438

See screenshot.
- Initially, the projects you see selected in the Package Explorer were only in the JUnit working set.
- I selected the projects and chose "Assign Working Sets...".
- In the "Working Set Assignments" dialog, I unchecked 'JUnit'.
- I clicked "New...", gave the new working set the name 'JUnit/Hamcrest', and confirmed

=> Now, you can see that the working set has really been created (it shows up at the end of the Package Explorer), but it's not visible in the "Working Set Assignments" dialog.

Hint: When I toggle the "Show only in Package Explorer" checkbox, the new WS magically appears.
Comment 1 Raksha Vasisht CLA 2009-03-05 09:25:42 EST
Created attachment 127654 [details]
Patch with the fix. The bug  was not from 190438, but because addNewWorkingSet(workingSet), was always called before manager.addWorkingSet(workingSet) when new working sets were created . Swapped them
Comment 2 Raksha Vasisht CLA 2009-03-05 09:29:30 EST
Created attachment 127655 [details]
Pls take this one.The bug was not from 190438, but because addNewWorkingSet(workingSet), was always called before manager.addWorkingSet(workingSet) when new working sets were created. Swapped them.
Comment 3 Markus Keller CLA 2009-03-06 08:42:23 EST
Thanks, released to HEAD.