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

Bug 543416

Summary: [launch config wizard] Plugin selection is totally broken
Product: [Eclipse Project] PDE Reporter: Andrey Loskutov <loskutov>
Component: UIAssignee: Julian Honnen <julian.honnen>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: Vikas.Chandra
Version: 4.11   
Target Milestone: 4.11 M3   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=441684
https://bugs.eclipse.org/bugs/show_bug.cgi?id=541514
Whiteboard:

Description Andrey Loskutov CLA 2019-01-14 07:37:43 EST
I believe either bug 441684 or 541514 or some of the other recent fixes in the "checkbox tree" area broke PDE plugin selection completely.

It looks like filter is immediately applied  to the launch config itself (but not to the visible state), or something really weird is going on.

My steps: (using I20190109-1800):

create default new Eclipse launch config.
Go to the Plugins tab
Select "Launch with: plug-ins selected below only"

1) The tree shows each and every checkbox selected but the status message in the right bottom area says "681 out of 808" selected. WHAT?
2) "Validate" plugins => OK. Run & close dialog.
3) Open same launch config dialog again. Now (without *anything* changed) the message says "560 out of 808" selected. WHAT? Not 681 anymore???
4) Type "ant" into the filter (but do not select/unselect anything). Validate. OK. Still "560 out of 808" selected.
5) "Apply". Still "560 out of 808" selected. "Validate" => Few "ant" plugins are shown as invalid in the dialog, with many missing dependencies.
6) "Cancel" and open same launch config => now "10 out of 808" selected (!?!?! I guess "ant" entries we haven't touched before), but the tree has *all* checkboxes checked!!!
7) "Validate" => no problems !!!! This with "10 out of 808" selected !!!!

At this point I must say I cans top testing, this is a total mess. Something really basic is broken.
Comment 1 Julian Honnen CLA 2019-01-14 08:03:56 EST
The inconsistent plugin count from 1) is probably an old issue: Bug 313672

The rest is indeed a regression from bug 441684.

*** This bug has been marked as a duplicate of bug 543218 ***