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
}
/**
 * Initializes the menu control.
 */
private void initializeMenu() {
	menu.addMenuListener(new MenuAdapter() {
		public void menuShown(MenuEvent e) {
			handleAboutToShow();
		}	
		public void menuHidden(MenuEvent e) {
		}	
	});
	markDirty();
	
	
}
/* (non-Javadoc)
 * Method declared on IContributionItem.
 */
public boolean isDynamic() {
	return false;
}
/**
 * Returns whether this menu should be enabled or not.
 * Used to enable the menu item containing this menu when it is realized as a sub-menu.
 * <p>
 * The default implementation of this framework method
 * returns <code>true</code>. Subclasses may reimplement.
 * </p>
 *