<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: possible infinite loop in gdkwindow-wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=759299#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - wayland: possible infinite loop in gdkwindow-wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=759299">bug 759299</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=317380&action=diff" name="attach_317380" title="wayland: Check transient depth">attachment 317380</a> <a href="attachment.cgi?id=317380&action=edit" title="wayland: Check transient depth">[details]</a></span> <a href='review?bug=759299&attachment=317380'>[review]</a>
wayland: Check transient depth
Gdk Wayland backend traverses up the window tree looking for transiency
parents, but does not check for cycles when doing so.
As a result, if two or more windows are transient to each other, the Wayland
gdk backend will enter an infinite loop.
While this is clearly a bug in the application, gtk+/gdk should be more robust
and handle such errors more gracefully.
To avoid looping infinitely, add a transient depth and check that the parent
window in on a lower transient depth and exit the loop otherwise.</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>