Community
Participate
Working Groups
I20111201 (4.2) If I close a view below the editor, the view pane sticks around. This seems to be a painting problem - if I minimize/restore the window it disappears. This has been consistently reproducible so far today...
Created attachment 207918 [details] Screen shot
I was showing this to Eric, and it looks like the pane actually closes by itself after several seconds, regardless of whether you minimize the window, etc. So rather than a paint problem it seems we've possibly introduced a performance regression where it takes us several seconds of processing between the view closing and the pane closing.
Looked at this with Eric again today on I20120120-1200. It is much better now but the empty pane is still visible for about 500ms-1s before it disappears
Created attachment 210217 [details] ContextService patch v1 Contexts are activated and deactivated very frequently. However, if a context that's already active is asked to become active, we shouldn't do anything. The current code sets stuff in the eclipse context regardless of whether a context is active or not. We should check for this and avoid setting values into the eclipse context if it is not necessary
(In reply to comment #4) > Created attachment 210217 [details] > ContextService patch v1 Paul, could you take a look at this? The fix is straightforward but perhaps I'm missing something obvious here.
That looks good enough for now. PW
(In reply to comment #5) > (In reply to comment #4) > > Created attachment 210217 [details] > > ContextService patch v1 Patch released to master. http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=aaa101d65a906bb54b37f73455f7e097735809cd
The pane closes almost instantaneously for me now with I20120131-2200 on Windows 7. Please let me know if it is still slow for you, John.
Verified with I20120312-1730 on Windows 7 that part stacks close nearly instantaneously.