[Wayland-bugs] [Bug 759299] wayland: possible infinite loop in gdkwindow-wayland

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 14 07:46:46 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759299

--- Comment #3 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 317380
  --> https://bugzilla.gnome.org/attachment.cgi?id=317380&action=edit
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151214/7e440442/attachment.html>


More information about the wayland-bugs mailing list