Community
Participate
Working Groups
1. Ctrl+F7, see a list of views. 2. Window > Open Perspective > Pick something else. 3. Ctrl+F7, see views from the first perspective incorrectly appear in this list.
They're also not getting removed. See WorkbenchPage's firePartClosed(CompatibilityPart).
Remy, come see me about this one. The LazyStackRenderer actually keeps track of which elements become visible or get hidden on a perspective switch but there's currently no API (event?) through which we can give the information back to the PartService.
This bug is responsible for the annoying problem where 'Team > Show History' doesn't do anything because you have that view open in another perspective.
(In reply to comment #3) > This bug is responsible for the annoying problem where 'Team > Show History' > doesn't do anything because you have that view open in another perspective. Opened bug 320320 to workaround the problem because fixing this properly for 1.0 now is too risky in my opinion.
(In reply to comment #4) > Opened bug 320320 to workaround the problem because fixing this properly for > 1.0 now is too risky in my opinion. That should be bug 320327.
Also should rollback the changes for bug 320573 when this gets fixed.
Created attachment 183671 [details] WorkbenchPage patch v1 Altered the relevant internal code to always go through the view references that are available in the current perspective instead of the global list.
Created attachment 183673 [details] WorkbenchPage patch v2 Simplified the code for removing references to depend only on when the part is actually destroyed.
Fixed in CVS HEAD.
Verified with I20101207-0250 on Windows XP. We no longer get a ridiculously long list of views when using Ctrl+F7.
Whoops.
getViewReferences() returns views outside the perspective but not the ones in the shared area.
Verified with I20110125-2200 on Windows XP. Ctrl+F7 correctly shows views in regular part stacks, views in the shared area, views outside the perspective (in help's stack), and views in the perspective's detached windows.