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
MPerspectiveStack ps = (MPerspectiveStack) changedElement;
			final MPerspective curPersp = ps.getSelectedElement();
			if (curPersp != null) {
				
				MPlaceholder eaPlaceholder = (MPlaceholder) modelService.find(
						IPageLayout.ID_EDITOR_AREA, curPersp);
				if (eaPlaceholder.getRef().getWidget() instanceof CTabFolder) {
					CTabFolder ctf = (CTabFolder) eaPlaceholder.getRef().getWidget();
					
					boolean isMax = curPersp.getTags().contains(EA_MAXIMIZED);
					ctf.setMaximized(isMax);
				}
			}
		}
	};
	private EventHandler tagChangeListener = new EventHandler() {
		public void handleEvent(Event event) {
			final Object changedElement = event.getProperty(EventTags.ELEMENT);
			String eventType = (String) event.getProperty(UIEvents.EventTags.TYPE);
			String tag = (String) event.getProperty(UIEvents.EventTags.NEW_VALUE);
			String oldVal = (String) event.getProperty(UIEvents.EventTags.OLD_VALUE);
			if (UIEvents.EventTypes.ADD.equals(eventType)) {
				if (MINIMIZED.equals(tag)) {
					handleMinimize((MUIElement) changedElement);
				} else if (EA_MAXIMIZED.equals(tag)) {
					MPerspective persp = (MPerspective) changedElement;
					MWindow win = modelService.getTopLevelWindowFor(persp);
					maximizeEA(getSharedAreaRef(win));
				}
			} else if (UIEvents.EventTypes.REMOVE.equals(eventType)) {