GNOME Bugzilla – Bug 683333
misplaced menu popups
Last modified: 2013-01-09 14:54:56 UTC
under conditions yet to be discovered, gtk3 menus get created in the wrong position on screen. this happens with menus spawned from menu bars (observed with evince and others) as well as with StatusIcon menus (observed with nm-applet and others). the bug was reported in launchpad[1], and has occurred on my system since around gtk 3.0. the reporter in launchpad produced a very illustrative screenshot[2]. i did a few experiments to rule out the various configuration aspects described by him: * the bug occurs with my user in a logged-in session. * the bug occurs when i share my DISPLAY/XAUTHORITY with a guest user (sans configuration) and run evince as the guest. * the bug doesn't occur when i start up Xephyr and run my window manager (i3, also happened with xmonad) and evince inside Xephyr, even if started by my own user (ie with my very configuration). * the bug's occurrence is independent of whether gnome-settings-daemon is just running or not. it may be noteworthy that i observe different font sizes inside and outside of Xephyr. [1] https://bugs.launchpad.net/ubuntu/+bug/996923 [2] https://launchpadlibrarian.net/104628498/example.png
one more piece of information: when, inside an application, the problem turns up the first time, it sometimes outputs error messages like this: (nm-applet:9782): Gtk-CRITICAL **: gtk_widget_get_preferred_width_for_height: assertion `height >= 0' failed (nm-applet:9782): Gtk-CRITICAL **: gtk_widget_get_preferred_width_for_height: assertion `height >= 0' failed (nm-applet:9782): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 217 and height -761
I believe this is a duplicate of bug 689030
it's visually identical to my bug, all information in that bug matches my problem; marking this one as duplicate as the other one already contains a fix and better information. *** This bug has been marked as a duplicate of bug 689030 ***