Community
Participate
Working Groups
Created attachment 211816 [details] screen shot Version: 4.2.0 Build id: I20120223-2200 Steps: 1. Open the Customize perspective dialog 2. go to the 'Shortcuts' tab 3. select 'Show View' from the Submenus option 4. notice there are two Plug-in Development entries - one has content the other does not, and you cannot check the empty one See attached screen shot
looks like the problem comes from the fact that PDE defines the same category twice: once in pde.runtime and once in pde.ui. I would expect the categories to be combined if this is the case. Looking at the code from the ViewRegistry class it looks like even if N categories with the same id are defined searching for that id will always only return the first match (see #findCategory). If I change the field 'categories' to be a map so we don't save duplicate category descriptions the problem goes away. I pushed the map fix to my github branch: https://github.com/mrennie/eclipse.platform.ui/tree/mrennie/bug372873
Pushed in >20120229. commit bb6f39309398233efcc020958a4eb1ce8792cd02 Nice one Mike !