Bug 339877 ToolBarManagerRenderer should not dispose of items that weren't created by the rendering engine
1. Window > Open Perspective > CVS Repository Exploring 2. The 'CVS Repositories' view doesn't have the 'Add CVS Repository' tool item. 3. Resizing the view doesn't help. 4. Close the view. 5. Reopen it. 6. Now it's there. Or maybe not, it didn't come back for Paul anyway.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/ToolBarManagerRenderer.java
});
			}
		}
		if (menu == null) {
			return;
		}
		
		Rectangle ib = item.getBounds();
		Point displayAt = item.getParent().toDisplay(ib.x, ib.y + ib.height);
		menu.setLocation(displayAt);
		menu.setVisible(true);
		Display display = Display.getCurrent();
		while (!menu.isDisposed() && menu.isVisible()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		if (menu.getData() instanceof MenuManager) {
			MenuManager manager = (MenuManager) menu.getData();
			manager.dispose();
		} else {
			menu.dispose();
		}
	}
	private Image getViewMenuImage() {
		if (viewMenuImage == null) {
			Display d = Display.getCurrent();
			Image viewMenu = new Image(d, 16, 16);
			Image viewMenuMask = new Image(d, 16, 16);
			Display display = Display.getCurrent();
			GC gc = new GC(viewMenu);