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
void unhookListeners() {
		eventBroker.unsubscribe(widgetListener);
		eventBroker.unsubscribe(perspectiveRemovedListener);
		eventBroker.unsubscribe(perspectiveChangeListener);
		eventBroker.unsubscribe(tagChangeListener);
	}
	private void adjustCTFButtons(MUIElement element) {
		CTabFolder ctf = getCTFFor(element);
		if (ctf == null)
			return;
		ctf.setMinimizeVisible(false);
		ctf.setMaximizeVisible(false);
		if (element.getTags().contains(MINIMIZED)) {
			ctf.setMaximizeVisible(true);
			ctf.setMaximized(true);
		} else if (element.getTags().contains(MAXIMIZED)) {
			ctf.setMinimizeVisible(true);
			ctf.setMaximizeVisible(true);
			ctf.setMaximized(true);
		} else {
			boolean showMinMax = true;
			int loc = modelService.getElementLocation(element);
			if ((loc & EModelService.IN_SHARED_AREA) != 0) {
				MUIElement parent = element.getParent();
				if (!(element instanceof MArea) && !(parent instanceof MArea))
					showMinMax = false;
			}
			if (showMinMax) {
				
				ctf.setMinimizeVisible(true);