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 347976 - [PATCH] Context menus appear in strange locations
[PATCH] Context menus appear in strange locations
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Quartz
2.10.x
Other Mac OS
: Normal normal
: ---
Assigned To: gtk-quartz maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-07-19 02:11 UTC by Dave Vasilevsky
Modified: 2006-07-19 07:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Patch to _gdk_windowing_window_get_pointer (1.12 KB, patch)
2006-07-19 02:12 UTC, Dave Vasilevsky
none Details | Review

Description Dave Vasilevsky 2006-07-19 02:11:52 UTC
When a context menu is triggered when using the Quartz backend, the menu appears in bizarre locations rather than under the mouse pointer. Currently it seems to always hug the upper-left corner of the screen. Previously, it appeared at almost random locations.

Attached is a patch to _gdk_windowing_window_get_pointer which allows the pointer location to be properly determined for the root window. This makes context menus appear under the mouse pointer, as desired.
Comment 1 Dave Vasilevsky 2006-07-19 02:12:45 UTC
Created attachment 69152 [details] [review]
Patch to _gdk_windowing_window_get_pointer
Comment 2 Richard Hult 2006-07-19 07:28:50 UTC
Thanks, this also fixes the positioning of tooltips. I've committed it.