https://bugzilla.gnome.org/show_bug.cgi?id=776225
--- Comment #4 from Jonas Ã…dahl <[email protected]> ---
Created attachment 342924
--> https://bugzilla.gnome.org/attachment.cgi?id=342924&action=edit
wayland: Handle subsurface as popup parent
When a subsurface is used as a parent of a popup, GDK needs to traverse
up to the transient-for as the next parent, to properly find the parent
used by the popup positioner. This is because the parent of a popup
must always either be an xdg_popup or an xdg_surface, but traversing
the "parent" (in GDK terms) upwards from a subsurface will end up on
the fake root window before we hit the actual parent (in Wayland terms).
---
I have only tested this with the widget factory (I found a place where a popup
is a child of a popover on Page 3, by pressing "Open" then opening a context
menu in the text entry. This patch fixes that case, and I suspect other
misplaced popups that had to pass by a subsurface should be fixed as well, if
there is no other issue involved as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs