Community
Participate
Working Groups
When using visible-when facility on diagram nodes, there will be cases where all nodes/connections in a palette compartment are hidden. The compartment currently remains present. Would be better if an empty compartment was never shown. That is, show/hide the compartments as necessary. Same repro steps Bug 354523.
Bulk deferral of diagram-related items to the 0.5 release.
If no node is visible, we'll not create the connection compartment either.
There is a presentation problem when no node/connection compartments are shown. Will attach screenshots.
Created attachment 215817 [details] With node/connection compartments
Created attachment 215818 [details] Without node/connection compartments I expect to not see the gray in the palette like that. Does the palette need to be reflowed or something when this change happens?
Created attachment 215866 [details] Palette with connection and node group collapsed
(In reply to comment #5) > Created attachment 215818 [details] > Without node/connection compartments > > I expect to not see the gray in the palette like that. Does the palette need to > be reflowed or something when this change happens? I just attached an image showing the palette with both Connections and Objects group collapsed. You'll see the gray there. This seems to be how GEF renders its palette. I could not find a way to access the parent composite of the palette. So no way to call its "layout()". Maybe we should render the palette with both the connections and objects group collapsed when no node is visible just like the screen capture?
> Maybe we should render the palette with both the connections and objects group > collapsed when no node is visible just like the screen capture? How is that different from where we started?
(In reply to comment #8) > > Maybe we should render the palette with both the connections and objects group > > collapsed when no node is visible just like the screen capture? > > How is that different from where we started? Our starting point was both groups are open but the Objects group is empty and the Connections group has an item which is not usable. What I'm proposing here is to have two empty groups in collapsed state.
Do you have a screen shot of this? Showing empty/unnecessary compartments is far from ideal. It is just noise. Let's spend some more time trying to fix this properly.
Just noticed that collapsing all compartments shows gray at the bottom. So this isn't a layout issue. It is ugly, but appears to be how the palette is designed to work. Accepting the current state as the resolution of this bug. Please file a bug on GEF requesting white background instead of gray when compartments are collapsed.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=380007 tracks the GEF palette issue.