Bug 73715 [Workbench] (regression) Workbench menus disappeared after closing the perspective
We have several menu items on the RCP workbench, when we close the perspective from the perspective bar,(right mouse click on the perspective tab and select close) the menu items on the workbench all disappeared. This leaves the workbench in a state that is not useable. I am attaching the RCP tutorial part3, the only change I made to the tutorial code was to add configurer.setShowPerspectiveBar(true); We are running Eclipse 3.0.1 M2, this used to work in Eclipse 3.0
bundles/org.eclipse.jface/src/org/eclipse/jface/action/SubMenuManager.java
if (item instanceof IMenuManager) {
            
            IMenuManager menu = (IMenuManager) item;
            item = getWrapper(menu);
        }
        return item;
    }
    /**
     * <p>
     * The menu returned is wrapped within a <code>SubMenuManager</code> to
     * monitor additions and removals.  If the visibility of this menu is modified
     * the visibility of the submenus is also modified.
     * </p>
     */
    public IMenuManager findMenuUsingPath(String path) {
        IContributionItem item = findUsingPath(path);
        if (item instanceof IMenuManager) {
            return (IMenuManager) item;
        }
        return null;
    }
    /* (non-Javadoc)
     * Method declared on IMenuManager.
     *
     * Returns the item passed to us, not the wrapper.
     *
     * We use use the same algorithm as MenuManager.findUsingPath, but unwrap
     * submenus along so that SubMenuManagers are visible.
     */
    public IContributionItem findUsingPath(String path) {