<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] Crash under gdk_wayland_window_attach_image()"
href="https://bugzilla.gnome.org/show_bug.cgi?id=793062#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] Crash under gdk_wayland_window_attach_image()"
href="https://bugzilla.gnome.org/show_bug.cgi?id=793062">bug 793062</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>“old_state = GDK_WINDOW_STATE_FOCUSED, state = (GDK_WINDOW_STATE_WITHDRAWN |
GDK_WINDOW_STATE_FOCUSED)” seems weird, how can a window be withdrawn and
focused?
Another weird thing is:
display_server = {outputs = 0x0, wl_surface = 0x0, xdg_surface = 0x0,
xdg_toplevel = 0x0, xdg_popup = 0x0, gtk_surface = 0x0, wl_subsurface = 0x0,
egl_window = 0x0, dummy_egl_window = 0x0, xdg_exported = 0x0, server_decoration
= 0x0}, egl_surface = 0x0, dummy_egl_surface = 0x0, initial_configure_received
= 0, mapped = 0, use_custom_surface = 0, pending_buffer_attached = 0,
pending_commit = 0, awaiting_frame = 0
All values are 0, as if the surface was withdrawn.
Also hint = GDK_WINDOW_TYPE_HINT_UTILITY,
This comes from Firefox code:
3517 nsresult
3518 nsWindow::Create(nsIWidget* aParent,
3519 nsNativeWidget aNativeParent,
3520 const LayoutDeviceIntRect& aRect,
3521 nsWidgetInitData* aInitData)
3522 {
...
3690 switch (aInitData->mPopupHint) {
3691 case ePopupTypeMenu:
3692 // Use GDK_WINDOW_TYPE_HINT_UTILITY on Wayland
which
3693 // guides Gtk to create the popup as subsurface
3694 // instead of xdg_shell popup (see Bug 1423598).
3695 gtkTypeHint = mIsX11Display ?
GDK_WINDOW_TYPE_HINT_POPUP_MENU :
3696
GDK_WINDOW_TYPE_HINT_UTILITY;
So the window causing this issue would be a “ePopupTypeMenu”.</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>