47 bytes, text/x-phabricator-request
|Details | Review|
In wayland backend the tooltip and popup menu windows are created as subsurface. This breaks correction of their position which ensures that window is not drawn outside of the screen or workarea. This is done by gdk/wayland  (and later there ) by default when the window type is GDK_WINDOW_TEMP as tested there .  https://git.gnome.org/browse/gtk+/tree/gdk/wayland/gdkwindow-wayland.c?h=gtk-3-22#n2345  https://git.gnome.org/browse/gtk+/tree/gdk/wayland/gdkwindow-wayland.c?h=gtk-3-22#n2239  https://git.gnome.org/browse/gtk+/tree/gdk/wayland/gdkwindow-wayland.c?h=gtk-3-22#n2011
Or better GDK_WINDOW_TYPE_HINT_POPUP_MENU, GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU or GDK_WINDOW_TYPE_HINT_COMBO
Severity: normal → minor
Priority: -- → P5
Recent wayland code creates popup windows as subsurface. We need to implement popups as xdg_popup which means we need to use gdk_seat_grab() and show the popup here (Bug 1377084). We use subsurfaces for popups because of: https://bugzilla.gnome.org/show_bug.cgi?id=783957
Severity: minor → normal
Depends on: 1377084
Priority: P5 → P2
We need to make gdk_window_move_to_rect() symbol public first to fix this: https://bugzilla.gnome.org/show_bug.cgi?id=791845
gdk_window_move_rect() is now public in GTK 3.24 and GTK maste:. https://gitlab.gnome.org/GNOME/gtk/issues/997
(In reply to wvengen from comment #4) > gdk_window_move_rect() is now public in GTK 3.24 and GTK maste:. > https://gitlab.gnome.org/GNOME/gtk/issues/997 Good news everyone!
Just like to inform that on swaywm this is indeed happening on multi-screens displays with positive Y position. Issue is solved by RedSoxFan as being an deprecation of gtk_menu_popup(). https://github.com/swaywm/sway/issues/3135#issuecomment-448794177
Attachment #9049616 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.