Community
Participate
Working Groups
Build Identifier: I20110613-1736 = Problem = Assume there is a view placeholder A directly in the page layout. When one tries to stack another view placeholder B next to it, a folder is automatically created in place of A, and both A and B are placed into it. I would expect that a folder placeholder should be created instead if both A and B are placeholders. = Consequences = When a new perspective is opened, I observe a (visible) empty folder, which contains (invisible) placeholders for two other views, but when Eclipse is restarted this folder is replaced by an (invisible) folder placeholder, just as I expected it to be in the first place. Reproducible: Always Steps to Reproduce: 1. Create a new perspective and add a placeholder for view A directly to its layout. 2. Stack a placeholder for view B next to the one for A using perspectiveExtensions extension point in plugin.xml 3. Start eclipse and observe that an empty folder is created instead of a folder placeholder.
Created attachment 201044 [details] Sample project demonstrating the bug
Created attachment 201045 [details] Simple patch that fixes the problem Please, note that I have never compiled org.eclipse.ui plug-in with this patch applied, but nevertheless believe it would work based on observing Eclipse behaviour in debugger.
The following two bug reports look related: - https://bugs.eclipse.org/bugs/show_bug.cgi?id=188570 (a different problem that is likely to have the same root cause, reported in 3.3) - https://bugs.eclipse.org/bugs/show_bug.cgi?id=58931 (a documentation enhancement request, reported in 3.0) Unfortunately, I cannot add them to the "See Also" field because it never recognizes these links as actual bug URLs.
Pretty sure I've seen this before.
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.