[Wayland-bugs] [Bug 771915] [Wayland]: Totem window misplaced after a state change
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Mon Sep 26 14:09:04 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=771915
--- Comment #9 from Olivier Fourdan <ofourdan at redhat.com> ---
(In reply to Olivier Fourdan from comment #5)
> I suspect this bug here is caused by the correct shadow border being applied
> sooner (required to set the correct min/max size, see bug 771561), which
> sets the right container size sooner and somehow shortcuts the update of
> abs_x/abs_y in recompute_visible_regions_internal(), or something along
> these lines...
Quick folllow-up on my previous comment, the shortcut in question is in
gtk_widget_size_allocate_with_baseline():
https://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c#n6101
6102: if (!alloc_needed && !size_changed && !position_changed &&
!baseline_changed)
6103: goto out;
That prevents the size_allocate to be propagated to clutter-gtk's
gtk_clutter_embed_size_allocate() which reposition the sub-surface where it
should be. Removing this test fixes the issue, but it's still not an
/acceptable/ fix.
--
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/20160926/000d1e29/attachment.html>
More information about the wayland-bugs
mailing list