Bug 229351 [Contributions] Customize Perspective dialog removes menu entires
I20080429-0100. (works in 3.4 M6a) 1. start fresh workspace 2. verify that the 'Edit' menu contains, e.g. Cut, Copy, Paste 3. Window > Customize Perspective... 4. click 'Cancel' (alternatively you can go and edit, then click 'OK') 5. observe: menu entries are gone from the 'Edit' menu The user has to restart in order to get the menu working again.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
menu.add(new GroupMarker(IWorkbenchActionConstants.BUILD_EXT));
        menu.add(new Separator());
        menu.add(new GroupMarker(IWorkbenchActionConstants.MB_ADDITIONS));
        menu.add(new GroupMarker(IWorkbenchActionConstants.PROJ_END));
        menu.add(new Separator());
        menu.add(projectPropertyDialogAction);
        return menu;
    }
    /**
     * Creates and returns the Window menu.
     */
    private MenuManager createWindowMenu() {
        MenuManager menu = new MenuManager(
                IDEWorkbenchMessages.Workbench_window, IWorkbenchActionConstants.M_WINDOW);
        menu.add(newWindowAction);
		menu.add(newEditorAction);
		
        menu.add(new Separator());
        addPerspectiveActions(menu);
        menu.add(new Separator());
        addKeyboardShortcuts(menu);
        Separator sep = new Separator(IWorkbenchActionConstants.MB_ADDITIONS);
		sep.setVisible(!"carbon".equals(SWT.getPlatform())); 
		menu.add(sep);
        
        
        ActionContributionItem openPreferencesItem = new ActionContributionItem(openPreferencesAction);
        openPreferencesItem.setVisible(!"carbon".equals(SWT.getPlatform())); 
        menu.add(openPreferencesItem);
        menu.add(ContributionItemFactory.OPEN_WINDOWS.create(getWindow()));