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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]
     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.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to