Bug 26221 [Perspectives] Noticeable menubar "flash" when switching perspectives
Build 20021113 Note this is Windows XP. Open a Java Perspective. Open a Java Browsing Perspective. Switch back and forth between the two. On my XP machine I can visibly see the menu bar "shrink" as menu items are removed, then "expand" as menu items are added. It actually looks like it's animated. Anyway, very noticeable and somewhat strange since I'm switching between two perspectives that have the same base menus (i.e., the menu bar for each perspective is the same).
bundles/org.eclipse.jface/src/org/eclipse/jface/action/MenuManager.java
/**
 * Returns whether the menu control is created
 * and not disposed.
 * 
 * @return <code>true</code> if the control is created
 *	and not disposed, <code>false</code> otherwise
 */
private boolean menuExist() {
	return menu != null && !menu.isDisposed();
}
/* (non-Javadoc)
 * Method declared on IMenuManager.
 */
public void removeMenuListener(IMenuListener listener) {
	listeners.remove(listener);
}
/* (non-Javadoc)
 * Method declared on IMenuManager.
 */
public void setRemoveAllWhenShown(boolean removeAll) {
	this.removeAllWhenShown = removeAll;
}
/* (non-Javadoc)
 * Method declared on IContributionItem.
 */
public void setVisible(boolean visible) {
	this.visible = visible;
}
/**
 * Sets the overrides for this contribution manager