Bug 356503 - [Compatibility] Two 'Delete' menu items in the 'Edit' menu
Summary: [Compatibility] Two 'Delete' menu items in the 'Edit' menu
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.2 M7   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 350080
  Show dependency tree
 
Reported: 2011-09-01 14:14 EDT by Remy Suen CLA
Modified: 2012-04-18 11:41 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2011-09-01 14:14:52 EDT
I20110831-1030

After installing Jubula, I get two 'Delete' menu items in the 'Edit' menu.
Comment 1 Remy Suen CLA 2011-09-01 16:21:43 EDT
This is caused by a combination of action sets and menu contributions.

<extension point="org.eclipse.ui.actionSets">
  <actionSet label="label"
      id="actionSetId" 
      visible="false">
    <action class="a.b.c.ActionSetAction"
        id="actionSetAction"
        label="Action" menubarPath="edit/x"/>
  </actionSet>
</extension>
<extension point="org.eclipse.ui.menus">
  <menuContribution
      locationURI="menu:edit?before=x">
    <command commandId="org.eclipse.ui.edit.delete"/>
  </menuContribution>
</extension>
Comment 2 Remy Suen CLA 2011-09-12 16:15:10 EDT
The extra separator generated by ActionSet's contributeMenuGroup(*) seems to be the cause behind this problem. Having difficulties finding similar code in 3.x, or at least code that goes searching through the menu manager for a separator of a given id anyway.
Comment 3 Paul Webster CLA 2012-04-18 08:55:52 EDT
Michael, you just installed Jubula, right?  Is this still a problem?

PW
Comment 4 Michael Rennie CLA 2012-04-18 11:41:22 EDT
(In reply to comment #3)
> Michael, you just installed Jubula, right?  Is this still a problem?
> 
> PW

Using:
Version: 4.2.0
Build id: N20120417-2000

I do not see this issue any longer. Closing.