Bug 343406 Trim stacks stay invisible in other perspectives even when rendered children are under it
1. Minimize the 'Outline' view's stack. 2. Window > Open Perspective > Debug 3. Activate the 'Debug' view. 4. Ctrl+M 5. There is minimized stuff in the left trim but the right trim is completely empty.
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/minmax/MinMaxAddon.java
public void restore(CTabFolderEvent event) {
			setState(getElementToChange(event), null);
		}
	};
	private MouseListener CTFDblClickListener = new MouseListener() {
		public void mouseUp(MouseEvent e) {
		}
		public void mouseDown(MouseEvent e) {
		}
		private MUIElement getElementToChange(MouseEvent event) {
			CTabFolder ctf = (CTabFolder) event.widget;
			MUIElement element = (MUIElement) ctf.getData(AbstractPartRenderer.OWNING_ME);
			MUIElement parentElement = element.getParent();
			return parentElement instanceof MArea ? parentElement : element;
		}
		public void mouseDoubleClick(MouseEvent e) {
			CTabFolder ctf = (CTabFolder) e.widget;
			if (!ctf.getMaximizeVisible())
				return;
			MUIElement elementToChange = getElementToChange(e);
			if (elementToChange instanceof MArea) {
				MUIElement areaRef = elementToChange.getCurSharedRef();
				if (!areaRef.getTags().contains(MAXIMIZED)) {
					setState(areaRef, MAXIMIZED);
				} else {
					setState(areaRef, null);
				}
			} else {
				if (!elementToChange.getTags().contains(MAXIMIZED)) {
					setState(elementToChange, MAXIMIZED);