<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><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> changed
<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>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Attachment #336192 status</td>
<td>rejected
</td>
<td>none
</td>
</tr>
<tr>
<td style="text-align:right;">Attachment #336192 is obsolete</td>
<td>
</td>
<td>1
</td>
</tr></table>
<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#c12">Comment # 12</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>Created <span class=""><a href="attachment.cgi?id=336367&action=diff" name="attach_336367" title="[PATCH] wayland: Avoid negative size constraints">attachment 336367</a> <a href="attachment.cgi?id=336367&action=edit" title="[PATCH] wayland: Avoid negative size constraints">[details]</a></span> <a href='review?bug=771915&attachment=336367'>[review]</a>
[PATCH] wayland: Avoid negative size constraints
Setting the shadow width earlier as done with commit <a href="https://git.gnome.org/browse/gtk%2B/commit/?id=4cb1b96">4cb1b96</a> to address
<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> proved to cause unexpected side effects on size_allocate
signal propagation.
As the window is sized correctly earlier, the size_allocate signal is
not emitted again in gtk_widget_size_allocate_with_baseline() which
prevents clutter-gtk from relocating its child widget correctly.
To avoid this issue, revert commit <a href="https://git.gnome.org/browse/gtk%2B/commit/?id=4cb1b96">4cb1b96</a> but make sure the values
passed as min and max size is never negative in Wayland as this is a
protocol error.
With this, the min/max size will be wrong for a short amount of time,
during the state transition, until the shadow width is updated from
gdk_window_set_shadow_width().
This approach is much safer and less intrusive than changing the
size_allocate logic in gtk.
This reverts commit <a href="https://git.gnome.org/browse/gtk%2B/commit/?id=4cb1b9645e84054c059f174240e8e288c4befe05">4cb1b9645e84054c059f174240e8e288c4befe05</a>.</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>