Community
Participate
Working Groups
In our Eclipse-based RCP we don't always need to have an editor area, so hide it using WorkbenchPage.setEditorAreaVisible(false). When maximise is called on a view org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon.maximize(MUIElement) has special code for finding the editor area (Lines 645-653 in 4.2.2). Even though it is not visible it is getting added to elementsToMinimize which means is gets tagged with MINIMIZED & MINIMIZED_BY_ZOOM and therefore set to visible when restore is called.
The fix here is trivial...just check before applying the MINIMIZE & MINIMIZED_By_ZOOM tags whether the 'visible' flag is set.
Pushed a fix to Gerrit: https://git.eclipse.org/r/12777 Only checks for min/max inside the main presentation, we can deal with 'global' stacks later since they're very rare...
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=085e11bfcecca0e29f52973e3035aab5e77970fe PW
Marking as FIXED...
Verified in 4.3.0.I20130516-2200.