Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356503

Summary: [Compatibility] Two 'Delete' menu items in the 'Edit' menu
Product: [Eclipse Project] Platform Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie, pwebster
Version: 4.2   
Target Milestone: 4.2 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 350080    

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.