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 791845 - Make gdk_window_move_to_rect() public
Make gdk_window_move_to_rect() public
Product: gtk+
Classification: Platform
Component: Backend: Wayland
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Reported: 2017-12-21 14:09 UTC by Jan Horak
Modified: 2018-05-02 19:37 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Jan Horak 2017-12-21 14:09:57 UTC
Firefox in Wayland is unable to place popup menus correctly because it does no longer knows the absolute position of the main window (this with screen dimensions was used to avoid placing popups out of screen).

GtkMenu uses gdk_window_move_to_rect() to place menus correctly but it is not exported. We need that for the implementation of Firefox menus in wayland. Please consider exporting this symbol.
Comment 1 Jonas Ådahl 2018-01-09 08:46:26 UTC
IIRC the reason for making it initially private was to get some real world testing before committing to it. I think we've gotten that, so personally I'd be fine with making it stable.
Comment 2 Eric Williams 2018-01-25 15:57:40 UTC
Eclipse SWT would benefit from this API being public as well.
Comment 3 Daniel Boles 2018-04-05 11:12:59 UTC
also requested at
Comment 4 GNOME Infrastructure Team 2018-05-02 19:37:09 UTC
-- 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: