Bug 579308 - Adding a project to a working set defaults to first working set, changing requires going to Select Working Sets dialog
Summary: Adding a project to a working set defaults to first working set, changing req...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.23   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-17 14:28 EDT by David M. Karr CLA
Modified: 2022-03-17 14:28 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 David M. Karr CLA 2022-03-17 14:28:03 EDT
For quite a few releases, I've noticed a couple of minor UI annoyances when importing a project and using the "Add project to working sets" checkbox.

Whenever I set up a new Eclipse, I always create 3 particular working sets and order them in the explorer in a particular order, which is not alphabetical.

For reference, the names don't really matter, but they are (the order I put them in the navigator):
* IDP Platform
* Other IDP
* CartCheckout

When I import the first project and check the "Add project to working sets" checkbox, the "Working sets" dropdown below that is empty, and clicking it shows no choices, even though I've already created my working sets. When I then click the "Select" button, it brings up the "Select Working Sets" dialog, and all three working sets are in the list, in alphabetical order (not the order shown in the navigator) but all are unselected.  I prefer to use the keyboard to make selections in this dialog, and this works reasonably well. When I first enter the dialog, the selection cursor is on the first element (CartCheckout), so I press the downarrow button twice to put the selection cursor on "Other IDP", press the space bar to select the checkbox, then press Enter, which clicks the OK button.

At this point, for the first project I imported, I selected "Other IDP", clicked OK, and clicked Finish.

I then imported another project and saw exactly the same behavior.  I'm not 100% certain the "Working sets" dropdown was empty, but I think it was.  I know the "Select Working Sets" dialog showed all three working sets unselected.

At some point, I imported a project that belonged in the "CartCheckout" working set, so I selected that and finished the import.

From this point on, every time I import a project, the behavior of that dropdown and the dialog has changed slightly.  Now, the "Working sets" dropdown has "CartCheckout" on it, and clicking the arrow shows no other choices.  When I click on "Select", the "Select Working Sets" dialog shows the selection cursor on the first item, which is "CartCheckout", and it is checked.  The selection cursor is also on that first item.

It is annoying that "CartCheckout" is checked, but I also see that when I press the space bar to change the checkbox selection, it does nothing.  If I then press the downarrow button and then the uparrow button, and THEN press the space bar, it changes the checkbox value.