<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wayland: Unmapping a toplevel from a menu/popup can lead to a protocol error"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=770906">770906</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Wayland: Unmapping a toplevel from a menu/popup can lead to a protocol error
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Platform
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>gtk+
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: Wayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>gtk-bugs@gtk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ofourdan@redhat.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>gtk-bugs@gtk.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>rob@robster.org.uk, wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>GNOME version</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=334828" name="attach_334828" title="WAYLAND_DEBUG log">attachment 334828</a> <a href="attachment.cgi?id=334828&action=edit" title="WAYLAND_DEBUG log">[details]</a></span>
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 <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Applications exit after "Error 71 (Protocol error) dispatching to Wayland display" while showing menu"
   href="show_bug.cgi?id=768111">bug 768111</a> 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.</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>