[Wayland-bugs] [Bug 770906] New: Wayland: Unmapping a toplevel from a menu/popup can lead to a protocol error

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 5 15:52:39 UTC 2016


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

            Bug ID: 770906
           Summary: Wayland: Unmapping a toplevel from a menu/popup can
                    lead to a protocol error
    Classification: Platform
           Product: gtk+
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: ofourdan at redhat.com
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 334828
  --> https://bugzilla.gnome.org/attachment.cgi?id=334828&action=edit
WAYLAND_DEBUG log

Description:

devassistant-gui uses a popup window to select the type of project, and when
selected unmaps the toplevel window to map a new one.

Problem is sometimes, this leads to a protocol error "destroyed popup not top
most popup" (WAYLAND_DEBUG logs attached)

I don't think this is the same as bug 768111 as I don't see more than popup
being created.

Looking at mutter code (and instrumenting the code, as there are two cases to
generate that same error "destroyed popup not top most popup" in mutter) show
that this coming from handle_popup_parent_destroyed() in mutter.

So I think what happens is the callback is hiding the toplevel before the popup
is unmapped, which causes this.

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


More information about the wayland-bugs mailing list