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
&& theStack.getTags().contains(MINIMIZED)
					&& theStack.getTags().contains(MINIMIZED_BY_ZOOM)) {
				theStack.getTags().remove(MINIMIZED_BY_ZOOM);
				theStack.getTags().remove(MINIMIZED);
			}
		}
		
		persp.getTags().remove(EA_MAXIMIZED);
		
		MPlaceholder eaPlaceholder = (MPlaceholder) modelService.find(IPageLayout.ID_EDITOR_AREA,
				persp);
		if (eaPlaceholder.getRef().getWidget() instanceof CTabFolder) {
			CTabFolder ctf = (CTabFolder) eaPlaceholder.getRef().getWidget();
			ctf.setMaximized(false);
		}
	}
	/**
	 * @param stack
	 * @return
	 */
	private String getMinimizedStackSuffix(MPartStack stack) {
		String id = ID_SUFFIX;
		MPerspective persp = modelService.getPerspectiveFor(stack);
		if (persp != null) {
			id = '(' + persp.getElementId() + ')';
		}
		return id;
	}
}