Community
Participate
Working Groups
Using the resource perspective: Make the editor area not visible by the following code: IWorkbenchPage page = window.getActivePage(); IEditorReference[] editorRefs = page.getEditorReferences(); if (editorRefs == null || editorRefs.length == 0) { page.setEditorAreaVisible(false); } The view stack for Tasks/Problems should take up the whole right of the perspective now. Close both these views and the Project Explorer and Outlines views should stretch across the whole perspecitve. Now re-open a view from the closed stack (eg Problems, or Console) The view stack fails to re-open.
Steven, I can repro this now...first news is that it has something to do with the fact that the view stack is in a sash container that also contains the editor area...if you try the same experiment with the other views on the left they work ok.
I'm getting there...there is a particular (and peculiar) piece of code in the CleanupAddon that screws with the 'visible' state and no corresponding reversal. It's this asymmetry that is causing the problems...
OK, I think I have a fix; I've put the patch on Gerrit https://git.eclipse.org/r/15471 I can't think of any existing situations where this new code would inadvertently set visible == true when it should be false but I'm going to take the plunge and commit this into 4.4 so it should be available in nightly builds after this date...once we've used it enough to be confident that there are no regressions then we can look at back porting it. If you're in a spot where you could try this change out in your environment and report back that would be great.
Commit for 4.4: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=bfa85acf4ae45d6b32896574f1e805567ad549e9
Looks like I forgot to mark this FIXED after the commit...
Verified in 4.4.0.I20130915-2000.