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
}
					public void restore(CTabFolderEvent event) {
						MWindow window = modelService.getTopLevelWindowFor(changedElement);
						MPerspective curPersp = modelService.getActivePerspective(window);
						curPersp.getTags().remove("EAMaximized"); 
					}
				});
				ctf.addMouseListener(new MouseListener() {
					public void mouseUp(MouseEvent e) {
					}
					public void mouseDown(MouseEvent e) {
					}
					public void mouseDoubleClick(MouseEvent e) {
						MWindow window = modelService.getTopLevelWindowFor(changedElement);
						MPerspective curPersp = modelService.getActivePerspective(window);
						if (curPersp.getTags().contains(EA_MAXIMIZED))
							curPersp.getTags().remove(EA_MAXIMIZED);
						else
							curPersp.getTags().add(EA_MAXIMIZED);
					}
				});
			}
			if (changedElement instanceof MPartStack && widget instanceof CTabFolder
					&& changedElement.getElementId() != null) {
				final CTabFolder folder = (CTabFolder) widget;
				int loc = modelService.getElementLocation(changedElement);
				if (loc != EModelService.IN_SHARED_AREA) { 
					folder.setMinimizeVisible(true);
					folder.addCTabFolder2Listener(new CTabFolder2Adapter() {
						public void minimize(CTabFolderEvent event) {