<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] random loss of focus on toplevel when mapping/unmapping grab-less xdg_popup"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=773210">773210</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[WAYLAND] random loss of focus on toplevel when mapping/unmapping grab-less xdg_popup
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Core
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>mutter
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.22.x
          </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>wayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mutter-maint@gnome.bugs
          </td>
        </tr>

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

        <tr>
          <th>QA Contact</th>
          <td>mutter-maint@gnome.bugs
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>boogiewasthere@gmail.com, carlosg@gnome.org, christian@hergert.me, jadahl@gmail.com, mschraal@gnome.org, nacho.resa@gmail.com, ofourdan@redhat.com, rob@robster.org.uk, swilmet@gnome.org, wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Depends on</th>
          <td>771694
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>757579, 772360, 773000, 773136
          </td>
        </tr>

        <tr>
          <th>GNOME version</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=338001" name="attach_338001" title="MUTTER_VERBOSE log when the issue occurs">attachment 338001</a> <a href="attachment.cgi?id=338001&action=edit" title="MUTTER_VERBOSE log when the issue occurs">[details]</a></span>
MUTTER_VERBOSE log when the issue occurs

+++ This bug was initially created as a clone of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - GtkSourceView completion popup window not shown, no grabbed seat found"
   href="show_bug.cgi?id=771694">Bug #771694</a> +++

Description:

Using the patch from <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - GtkSourceView completion popup window not shown, no grabbed seat found"
   href="show_bug.cgi?id=771694">bug 771694</a> to allow grab-less xdg_popup in gtk+/gdk
Wayland backend sometimes leads to a loss of focus on the toplevel window.

Steps to reproduce:

1. Apply <span class=""><a href="attachment.cgi?id=337961&action=diff" name="attach_337961" title="wayland: Allow grabless xdg_popups">attachment 337961</a> <a href="attachment.cgi?id=337961&action=edit" title="wayland: Allow grabless xdg_popups">[details]</a></span> <a href='review?bug=773210&attachment=337961'>[review]</a> to gtk+-3.22.1, rebuild, install
2. Run gtksourceview test-completion
3. Type some text quickly, dismiss the popup, re-type, etc.

Actual result:

Sometimes the toplevel window loses its focus

Expected result:

The toplevel remain focused as the popup should not receive focus anyway.</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>