<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland]: Totem window misplaced after a state change"
href="https://bugzilla.gnome.org/show_bug.cgi?id=771915#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland]: Totem window misplaced after a state change"
href="https://bugzilla.gnome.org/show_bug.cgi?id=771915">bug 771915</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>(In reply to Olivier Fourdan from <a href="show_bug.cgi?id=771915#c5">comment #5</a>)
<span class="quote">> I suspect this bug here is caused by the correct shadow border being applied
> sooner (required to set the correct min/max size, see <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Epiphany application mode on Wayland broken with WebKit 2.13.92"
href="show_bug.cgi?id=771561">bug 771561</a>), 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...</span >
Quick folllow-up on my previous comment, the shortcut in question is in
gtk_widget_size_allocate_with_baseline():
<a href="https://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c#n6101">https://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c#n6101</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>