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/SubContributionManager.java
return null;
        IContributionItem result = parentMgr.remove(wrap);
        if (result == null)
            return null;
        itemRemoved(item);
        return item;
    }
    /* (non-Javadoc)
     * Method declared on IContributionManager.
     */
    public void removeAll() {
        Iterator enum = mapItemToWrapper.values().iterator();
        while (enum.hasNext()) {
            IContributionItem item = (IContributionItem) enum.next();
            parentMgr.remove(item);
        }
        mapItemToWrapper.clear();
    }
    /**
     * Sets the visibility of the manager.  If the visibility is <code>true</code>
     * then each item within the manager appears within the parent manager.
     * Otherwise, the items are not visible.
     *
     * @param visible the new visibility
     */
    public void setVisible(boolean visible) {
        this.visible = visible;
        if (mapItemToWrapper.size() > 0) {
            Iterator enum = mapItemToWrapper.values().iterator();
            while (enum.hasNext()) {