<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Wayland: Inspector GtkLabel drag'n'drop freezes gnome-shell session"
href="https://bugzilla.gnome.org/show_bug.cgi?id=765062">bug 765062</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;">CC</td>
<td>
</td>
<td>jadahl@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wayland: Inspector GtkLabel drag'n'drop freezes gnome-shell session"
href="https://bugzilla.gnome.org/show_bug.cgi?id=765062#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Wayland: Inspector GtkLabel drag'n'drop freezes gnome-shell session"
href="https://bugzilla.gnome.org/show_bug.cgi?id=765062">bug 765062</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>I didn't manage to reproduce this in bare mutter. There, trying to reproduce
what you describe kills the client because it sends bogus requests (it tries to
pass an object with the wrong type).
When trying on gnome-shell, it does indeed freeze the session, and the reason
it freezes is that it gets into a loop that never ends in block_source() in
gmain.c where for some reason tmp_list == tmp_list->next == tmp_list->data.
The reason for things breaking, anyhow, seems to be because when the inspector
is open, there are two connections open to the Wayland compositor, and when
selecting text and dragging, gtk creates a buffer with one connection, then
tries to attach it to a surface on another connection.
We first need to fix this on the gtk side, by not mixing objects on different
connections, but we should also look into why gnome-shell ends up messing up
the sources. I will first continue investigating where mutter can't handle
invalid input.</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>