Bug 318711 Toolbar items disappear while a dialog is up, major flickering
SDK 4.0 - I20100701-1105. When a dialog is opened (e.g. wizard), the toolbar is updated and items get removed. This causes major UI flickering, hurting my eyes while working with Eclipse.
bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/ShellActivationListener.java
private MApplication application;
	ShellActivationListener(MApplication application) {
		this.application = application;
	}
	public void handleEvent(Event event) {
		if (!(event.widget instanceof Shell)) {
			return;
		}
		Shell shell = (Shell) event.widget;
		Object obj = shell.getData(AbstractPartRenderer.OWNING_ME);
		if (obj instanceof MWindow) {
			if (event.type == SWT.Deactivate) {
				Object local = ((MWindow) obj).getContext().getLocal(
						IContextConstants.ACTIVE_CHILD);
				WorkbenchSWTActivator.trace("/trace/workbench",
						"setting mwindow context " + local, null);
				shell.setData(ECLIPSE_CONTEXT_PREV_CHILD, local);
			}
			return;
		}
		obj = shell.getData(DIALOG_IGNORE_KEY);
		if (obj instanceof Boolean && ((Boolean) obj).booleanValue()) {
			return;
		}
		switch (event.type) {
		case SWT.Activate:
			activate(shell);
			break;
		case SWT.Deactivate:
			deactivate(shell);