Bug 339737 Switching perspectives has trim layout issues
If you switch to a perspective that has minimized stacks the vertical trim bar's layout is not correct...
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/minmax/MinMaxAddon.java
if (MINIMIZED.equals(oldVal)) {
					handleRestore((MUIElement) changedElement);
				} else if (EA_MAXIMIZED.equals(oldVal)) {
					MPerspective persp = (MPerspective) changedElement;
					MWindow win = modelService.getTopLevelWindowFor(persp);
					unmaximizeEA(getSharedAreaRef(win));
				}
			}
		}
		private void handleRestore(MUIElement element) {
			if (element instanceof MPartStack && element.getWidget() instanceof CTabFolder) {
				restoreStack((MPartStack) element);
			}
		}
		private void handleMinimize(MUIElement element) {
			if (element instanceof MPartStack && element.getWidget() instanceof CTabFolder) {
				minimizeStack((MPartStack) element);
			}
		}
	};
	private EventHandler perspectiveRemovedListener = new EventHandler() {
		public void handleEvent(Event event) {
			final MUIElement changedElement = (MUIElement) event.getProperty(EventTags.ELEMENT);
			if (!(changedElement instanceof MPerspectiveStack))
				return;
			String eventType = (String) event.getProperty(UIEvents.EventTags.TYPE);
			if (UIEvents.EventTypes.REMOVE.equals(eventType)) {
				MUIElement removed = (MUIElement) event.getProperty(UIEvents.EventTags.OLD_VALUE);
				String perspectiveId = removed.getElementId();
				MWindow window = modelService.getTopLevelWindowFor(changedElement);