GNOME Bugzilla – Bug 160765
Workspace Switcher UI flickering during gnome-panel starting.
Last modified: 2018-01-24 13:25:11 UTC
The applet "Workspace Switcher" seems to be displayed in the panel before to compute the size is must have. The applet appears in big size and then appears in the normal size. It make some not very good feeling. Expected result: the Workspace Switcher panel should first of all know the size of the panel, and then be displayed following this size.
Created attachment 34629 [details] the cutted applet, that appears at the panel starting.
Sorry for the spam. Confirming some bugs. Filter on "VINCENT CONFIRMS" to ignore.
Should be fixed in HEAD. Baptiste: it'd be great if you could verify that it works for you.
Thank you Vincent. I will test with the next developpement release of gnome-panel.
Just saw this again. Reopening.
*** Bug 169697 has been marked as a duplicate of this bug. ***
This is a libwnck problem. The initial size of the pager is arbitrary - see this line: pager->priv->workspace_size = 48; I'm not sure what we can do here. Changing this value to a lower one will fix bug #169697, but this is just a workaround. For future reference, here's what happening on a 64px horizontal panel with a 2x2 workspace switcher in term of size allocation of the pager (w*h): 135x103, 135x64 and 81x64. The problem is that when the pager first requests a size, it requests 135x103. The panel allocates 135x64 to the pager. As this changes the value of workspace_size, there's a resize of the pager and it now requests 81x63. I'm not sure how to best fix this.
Annoying problem, still happening on 2.12 beta.
Reducing the default workspace size to something a lot smaller sounds reasonable to me. We just need to be sure that the panel then allocates the maximum height to the applet (for a vertical panel). May need to set the EXPAND_MINOR PanelApplet flag.
This problem is still present in 2.13.x.
Still valid for 2.15.x. I noticed that SUSE pathes gnome-panel to have a "Lock panel in place" context menu option. When activated it prevents the panel that contains the workspace switcher from moving to a different position. Maybe it can solve this bug?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libwnck/issues/39.