[Wayland-bugs] [Bug 770024] Wayland: subsurface popovers cause warnings
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Sat Sep 3 14:22:32 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=770024
--- Comment #3 from Timm Bäder <mail at baedert.org> ---
So it looks like I can effectively "solve" this by...
1) commenting the loop at
https://git.gnome.org/browse/gtk+/tree/gtk/gtkwindow.c#n7400 . This will cause
the popovers to be realized at a later stage, namely in
_gtk_window_set_popover_position here:
https://git.gnome.org/browse/gtk+/tree/gtk/gtkwindow.c#n12283 .
2) Stop the popover from listening to the "parent's" size-allocate by
commenting https://git.gnome.org/browse/gtk+/tree/gtk/gtkpopover.c#n2058 . The
call to gtk_popover_update_position here might later cause another
gtk_widget_queue_resize() through _gtk_window_set_popover_position during a
size-allocate though I'm not sure if that's the cause.
This is tested with the volumebutton popovers in the widget-factory. The
popovers will now popup in the upper left corner.
--
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/20160903/d847d898/attachment.html>
More information about the wayland-bugs
mailing list