<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Sometimes tooltip_popup_timeout() in gtk/gtktooltip.c causes crash after closing a window"
href="https://bugzilla.gnome.org/show_bug.cgi?id=784319#c21">Comment # 21</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Sometimes tooltip_popup_timeout() in gtk/gtktooltip.c causes crash after closing a window"
href="https://bugzilla.gnome.org/show_bug.cgi?id=784319">bug 784319</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ashie%40clear-code.com" title="Takuro Ashie <ashie@clear-code.com>"> <span class="fn">Takuro Ashie</span></a>
</span></b>
<pre>(In reply to Martin Stransky from <a href="show_bug.cgi?id=784319#c20">comment #20</a>)
<span class="quote">> I see that the CSD/Wayland code path is under gtk_widget_get_has_window
> (widget) condition which looks like Gtk is aware about window owned by
> container:</span >
Sorry, you are right.
My explanation about gtk_widget_get_has_window() is incorrect.
gtk_widget_get_has_window() returns TRUE by default:
<a href="https://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c#n8202">https://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c#n8202</a>
(priv->no_window == 0 by default)
In addition, when gtk_widget_get_has_window() is FALSE, a parent GdkWindow is
used for the widget's GdkWindow, it doesn't create its own GdkWindow.
On the other hand the explanation about "unrealize" is correct.
I confirmed that it's not called so that no one destroy the GdkWindow of
MozContainer. When MOZ_WAYLAND isn't defined, it's destroyed by the following
line:
<a href="https://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c#n10589">https://git.gnome.org/browse/gtk+/tree/gtk/gtkwidget.c#n10589</a>
But when I address it, sometimes another similar crash occurs.
It's more rare than before...
We should continue it at <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1467104">https://bugzilla.redhat.com/show_bug.cgi?id=1467104</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>