After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666569 - New gtk+3.0 adds vertical scroll buttons to all menus
New gtk+3.0 adds vertical scroll buttons to all menus
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: libpanel-applet
3.3.x
Other Linux
: Normal major
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-20 03:30 UTC by David Ronis
Modified: 2012-03-07 16:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot showing a menu that has more window-dressing than content (20.80 KB, image/png)
2011-12-20 03:39 UTC, David Ronis
  Details
gnome-panel patch (1.01 KB, patch)
2011-12-23 05:27 UTC, Matthias Clasen
committed Details | Review

Description David Ronis 2011-12-20 03:30:38 UTC
I just upgraded to gtk+-3.3.6 (I'm running gnome-panel 3.3.1).   It seems that menus now have explicit vertical scroll buttons to the top and bottom of each menu.   This is no big deal for a large menu (but unessary), but is a disaster for the window-switcher menu.   Basically what shows are the top and bottom buttons and, if I'm lucky, one or two lines of the menu.   These should not be shown unless the menu is big enough (say > 10 entries).


I'll try and attach a screenshot.
Comment 1 David Ronis 2011-12-20 03:39:34 UTC
Created attachment 203925 [details]
Screenshot showing a menu that has more window-dressing than content

Notice the window list at the top right.
Comment 2 Vincent Untz 2011-12-20 11:16:30 UTC
Looks like a GTK+ bug: having those buttons hide the content of a menu should not happen.
Comment 3 Matthias Clasen 2011-12-22 00:16:30 UTC
Probably fallout from the workarea change.
What does xprop -root _NET_WORKAREA say ?
Comment 4 David Ronis 2011-12-22 03:22:43 UTC
xprop -root _NET_WORKAREA
_NET_WORKAREA(CARDINAL) = 0, 26, 1280, 773, 0, 26, 1280, 773
Comment 5 Matthias Clasen 2011-12-22 04:19:52 UTC
Does xprop -root -remove _NET_WORKAREA fix the panel menus ?
Comment 6 David Ronis 2011-12-22 05:13:16 UTC
It does.
Comment 7 Matthias Clasen 2011-12-23 05:27:44 UTC
Created attachment 204127 [details] [review]
gnome-panel patch
Comment 8 David Ronis 2011-12-23 18:30:19 UTC
I tried the patch.   The scroll buttons are still here (unlike what happens when I run "xprop -root -remove _NET_WORKAREA"), and still obscure the entire menu (although I have to trigger the menu several times to see this).
Comment 9 André Klapper 2012-01-29 14:00:23 UTC
vuntz: review, please?
Comment 10 Vincent Untz 2012-02-02 08:16:37 UTC
Comment on attachment 204127 [details] [review]
gnome-panel patch

Thanks, pushed!
Comment 11 Vincent Untz 2012-02-02 08:17:22 UTC
The patch makes sense, so I pushed it.

But I'm not able to reproduce the original issue (even without the patch), with gtk+ master. David, can you still reproduce it?
Comment 12 André Klapper 2012-03-07 11:41:05 UTC
David, can you still reproduce the problem with git master, or can this be closed?
Comment 13 David Ronis 2012-03-07 16:00:22 UTC
It seems to be fixed.  Thanks.