Community
Participate
Working Groups
Build Identifier: If I save an empty perspective, when I call workbenchPage.resetPerspective(), the perspective is closed due to the lack of children (much like in bug 356252 [1]). I've created a patch (with a fix similar to that for the bug mentioned above) that fixes the problem for my application. This is very similar to the bug I mentioned above, so if you'd prefer we can close this one and reopen the other. [1]http://bugs.eclipse.org/bugs/show_bug.cgi?id=356252 Reproducible: Always Steps to Reproduce: 1. Create and save an empty perspective 2. Call reset perspective 3. The perspective is closed
Created attachment 205930 [details] Patch that checks if container is MPerspective before setting toBeRendered
Eclipse Build Info: Version: 4.1.0 Build id: I20110620-1631
Sarah, thanks a lot for the patch ! I *think* I've already addressed this while doing the fix for bug 356252, does your issue still occur on recent builds (i.e. after the 'fix' for 356252 went in) ?
(In reply to comment #3) > Sarah, thanks a lot for the patch ! I *think* I've already addressed this while > doing the fix for bug 356252, does your issue still occur on recent builds > (i.e. after the 'fix' for 356252 went in) ? I used the latest version from the R4_development branch of [1] and was still able to see the issue. Looking at the change you committed [2], it looks like you changed the renderingChangeHandler, while the patch I submitted made pretty much the same change to childrenHandler. [1] http://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git [2] http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R4_development&id=d49acf4e4a216ba93d0f21bf08f09cef5ef84dbd
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.