| Summary: | Juno RC1 CPP EPP package has multiple Run top-level menus | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jeff Johnston <jjohnstn> |
| Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, marc.khouzam, pawel.1.piech, pwebster |
| Version: | 4.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Jeff Johnston
Do the 2 run menus persist after a restart? PW I just noticed this problem as well. It only shows up for me when launching with a new workspace and the problem does not appear with 3.8 builds.
Debug contributes to the top menu using action sets and the org.eclipse.ui.menus commands. In order to place the commands in between the action sets actions, I added the following menu contribution:
<menuContribution
locationURI="menu:org.eclipse.ui.main.menu?after=additions">
<!-- Need to re-create the menu structure in the command framework
so that contributed commands will be placed correctly in menus -->
<menu
id="org.eclipse.ui.run"
label="%RunMenu.label">
<separator name="stepGroup" visible="true"/>
<separator name="stepIntoGroup"/>
<separator name="stepOverGroup"/>
<separator name="stepReturnGroup"/>
<separator name="emptyStepGroup"/>
<separator name="relaunchGroup" visible="true"/>
<separator name="profileGroup" visible="true"/>
<separator name="runGroup" visible="true"/>
<separator name="debugGroup" visible="true"/>
<separator name="emptyLaunchGroup" visible="true"/>
<separator name="breakpointGroup" visible="true"/>
<separator name="lineBreakpointGroup"/>
<separator name="emptyBreakpointGroup"/>
</menu>
</menuContribution>
Without it, the second Run menu goes away but then the commands are inserted in random places.
(In reply to comment #1)
> Do the 2 run menus persist after a restart?
No. I only see it when launching with a clean workspace.
Then it's Bug 376896, which effects actionSet ordering in certain cases in newly created windows. PW *** This bug has been marked as a duplicate of bug 376896 *** |