Community
Participate
Working Groups
There should be a 'Group By' submenu in the Ctrl+F10 menu but we only get raw text with no menu expansion in 4.x.
This is a very odd situation. The submenu is implemented by a view action that's also a menu creator, that is, the class GroupBreakpointsByAction implements both IViewActionDelegate and IMenuCreator. This oddity allows the org.eclipse.debug.ui plug-in to contribute such a submenu to a view. In 4.x, we transform the view action into a handled contribution item so the fact that the backing delegate actually implements IMenuCreator is completely ignored. I don't think it's possible for us to know that the backing action implements the IMenuCreator interface at the moment so I'm not sure what we should do here.
So they're getting the IMenuCreator call by the org.eclipse.ui.internal.ViewPluginAction in 3.x? PW
(In reply to comment #2) > So they're getting the IMenuCreator call by the > org.eclipse.ui.internal.ViewPluginAction in 3.x? Trace as follows... Daemon System Thread [Attach Listener] (Running) GroupBreakpointsByAction.getMenu(Menu) line: 67 PluginActionContributionItem(ActionContributionItem).handleShowProxy(Menu) line: 1244 ActionContributionItem.access$4(ActionContributionItem, Menu) line: 1237 ActionContributionItem$8.handleEvent(Event) line: 1210 EventTable.sendEvent(Event) line: 84 Menu(Widget).sendEvent(Event) line: 1053 Menu(Widget).sendEvent(int, Event, boolean) line: 1077 Menu(Widget).sendEvent(int) line: 1058 Shell(Control).WM_INITMENUPOPUP(long, long) line: 4881 Shell(Control).windowProc(long, int, long, long) line: 4557 Shell(Canvas).windowProc(long, int, long, long) line: 341 Shell(Decorations).windowProc(long, int, long, long) line: 1627 Shell.windowProc(long, int, long, long) line: 2069 Display.windowProc(long, long, long, long) line: 4972 OS.TrackPopupMenu(long, int, int, int, int, long, RECT) line: not available [native method] Menu._setVisible(boolean) line: 256 Display.runPopups() line: 4206 Display.readAndDispatch() line: 3748
Also affects CDT.
(In reply to comment #4) > Also affects CDT. This is working as expected with the latest changes from master (which includes all of the changes from Paul's action set merges). Mark / Pawel can you confirm if CDT is working again?
With I-build I20120321-0610, things look good for CDT. Thanks!
Thanks for reporting back Marc. Marking fixed since this was covered with Paul's action set changes
verified in Version: 4.2.0 Build id: I20120430-1800