GNOME Bugzilla – Bug 772795
Stop using gdk_monitor_get_workarea() for calculating popup positions
Last modified: 2018-05-02 17:35:47 UTC
There are still a few places where we use gdk_monitor_get_workarea() and the "window monitor" and absolute positioning to calculate how to position popups. This doesn't work on backends that doesn't have global positioning, such as Wayland and Mir. All these places should be changed to use gdk_window_move_to_rect() instead. Some places that needs to be ported include: * GtkComboBox list position * GtkEntryCompletion popup window * GtkTooltip * GtkTreeView search window Atfer that, gdk_monitor_get_workarea() should probably be deprecated together with gdk_display_get_monitor_at_window().
-- 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: https://gitlab.gnome.org/GNOME/gtk/issues/683.