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 683333 - misplaced menu popups
misplaced menu popups
Status: RESOLVED DUPLICATE of bug 689030
Product: gtk+
Classification: Platform
Component: Widget: Other
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-09-04 14:32 UTC by chrysn
Modified: 2013-01-09 14:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description chrysn 2012-09-04 14:32:33 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
Comment 1 chrysn 2012-09-04 14:38:27 UTC
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
Comment 2 Geoff Reedy 2013-01-09 06:07:52 UTC
I believe this is a duplicate of bug 689030
Comment 3 chrysn 2013-01-09 14:54:56 UTC
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 ***