[Wayland-bugs] [Bug 776225] [wayland] dropdown placed somewhere in the screen

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Jan 3 17:04:51 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=776225

--- Comment #2 from Olivier Fourdan <ofourdan at redhat.com> ---
Quick update, to reproduce, one needs to have combo inside a popover, which is
not so common but can be found in recipes at commit c127b94.

The problem is that gtk_menu_position() will position the menu relative to the
widget using the widget's window, but when it's inside a popover, the popover
is itself a subsurface, and the popover relative position is not taken into
account.

In other words, the menu is placed relative to the widget location but applied
to the toplevel window, not the actual subsurface when using a popover.

Not sure how to fix this though...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170103/dae98c39/attachment.html>


More information about the wayland-bugs mailing list