This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 423837 - [Wizards] Wizard categories without direct wizard are not shown anymore
Summary: [Wizards] Wizard categories without direct wizard are not shown anymore
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 4.4 M5   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact: Daniel Rolka CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 426560
  Show dependency tree
 
Reported: 2013-12-11 11:55 EST by Jeff MAURY CLA
Modified: 2014-01-24 09:19 EST (History)
1 user (show)

See Also:


Attachments
Sample plugin (4.19 KB, application/octet-stream)
2013-12-12 10:29 EST, Jeff MAURY CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff MAURY CLA 2013-12-11 11:55:24 EST
My wizard are attached to a category which is itself attached to a root category but which has no wizard.

The hierarchy is:

RootCat --> ChildCat --> Wizard1, Wizard2

The org.eclipse.ui.internal.dialog.WizardPatternFilter now (since LunaM3) now filters out categories that have no direct wizard so as a consequence, my wizards are now shown anymore. It notice the same for the Examples category.

I think this is since LunaM3 but I'm note 100% sure. I'm sure my wizards are ok on Kepler, Juno, Indigo, Helios and Galileo (thank you Tycho and UT)
Comment 1 Paul Webster CLA 2013-12-11 12:13:14 EST
Possibly more fallout from Bug 408763 like Bug 419710

PW
Comment 2 Jeff MAURY CLA 2013-12-11 12:26:45 EST
Will try with Luna staging and let you know
Comment 3 Daniel Rolka CLA 2013-12-12 06:35:47 EST
(In reply to Jeff MAURY from comment #2)
> Will try with Luna staging and let you know

Could you please attach the sample plugin that exposes the issue? 
The filtering of wizards is very sensitive area of the code and the probability of the regression is very high.
We have to make sure that the new fix will handle all cases.

thanks,
Daniel
Comment 4 Jeff MAURY CLA 2013-12-12 10:29:36 EST
Created attachment 238294 [details]
Sample plugin

A sample plugin that shows the issue
Comment 5 Daniel Rolka CLA 2014-01-09 08:03:32 EST
I've pushed the patch proposal to Gerrit that seems to be working fine for all cases: https://git.eclipse.org/r/#/c/20428/

thanks,
Daniel
Comment 6 Dani Megert CLA 2014-01-13 10:10:50 EST
(In reply to Daniel Rolka from comment #5)
> I've pushed the patch proposal to Gerrit that seems to be working fine for
> all cases: https://git.eclipse.org/r/#/c/20428/

With all cases, you mean all cases described here, bug 408763 and bug 419710? Would be good to have test cases for those, to avoid future breakages.
Comment 7 Daniel Rolka CLA 2014-01-13 10:23:32 EST
(In reply to Dani Megert from comment #6)
> (In reply to Daniel Rolka from comment #5)
> > I've pushed the patch proposal to Gerrit that seems to be working fine for
> > all cases: https://git.eclipse.org/r/#/c/20428/
> 
> With all cases, you mean all cases described here, bug 408763 and bug
> 419710? Would be good to have test cases for those, to avoid future
> breakages.

By all cases I mean the following bugs: Bug 408763, Bug 419710 and the current use case

Daniel
Comment 8 Dani Megert CLA 2014-01-15 09:38:34 EST
Submitted with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=fb703ae64d2be04529fed1eb8875ac2ef68eb932

Would still be good to have test cases.
Comment 9 Jeff MAURY CLA 2014-01-16 04:48:49 EST
Please not I have submitted a sample that demonstrated the issue
Comment 10 Daniel Rolka CLA 2014-01-16 04:51:21 EST
(In reply to Jeff MAURY from comment #9)
> Please not I have submitted a sample that demonstrated the issue

Do you have any new use case where the new fix doesn't work?

Daniel
Comment 11 Jeff MAURY CLA 2014-01-16 04:53:49 EST
I did not test the fix. Do I need to build Eclipse myself or it there a build/P2 repo available ?
Comment 12 Daniel Rolka CLA 2014-01-16 05:03:14 EST
(In reply to Jeff MAURY from comment #11)
> I did not test the fix. Do I need to build Eclipse myself or it there a
> build/P2 repo available ?

The fix should be available in the following builds: 
http://download.eclipse.org/eclipse/downloads/drops4/I20140115-1300/
http://download.eclipse.org/eclipse/downloads/drops4/N20140115-2000/

Daniel
Comment 13 Jeff MAURY CLA 2014-01-16 05:23:11 EST
I will test it and let you know
Comment 14 Daniel Rolka CLA 2014-01-20 07:34:32 EST
(In reply to Dani Megert from comment #8)
> Submitted with
> http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/
> ?id=fb703ae64d2be04529fed1eb8875ac2ef68eb932
> 
> Would still be good to have test cases.

OK, so let's leave the bug opened and I'll prepare the proper test suite for it

Daniel
Comment 15 Dani Megert CLA 2014-01-24 06:17:26 EST
It's better for bookkeeping if we mark this FIXED for M5.

Filed bug 426560 for adding the tests.
Comment 16 Daniel Rolka CLA 2014-01-24 09:19:30 EST
Verified in the build: I20140120-2000

Daniel