<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: gdk_seat_grab() set cursor not resilient"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=760213">760213</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>wayland: gdk_seat_grab() set cursor not resilient
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>3.19.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>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>Depends on</th>
          <td>759738
          </td>
        </tr>

        <tr>
          <th>GNOME version</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=318319&action=diff" name="attach_318319" title="Test to demonstrate the issue">attachment 318319</a> <a href="attachment.cgi?id=318319&action=edit" title="Test to demonstrate the issue">[details]</a></span> <a href='review?bug=760213&attachment=318319'>[review]</a>
Test to demonstrate the issue

Summary:

When one sets a cursor in gdk_seat_grab() and maps a popup window underneath
the cursor, the cursor is shows for a very short time and reverted back to the
default value.

Steps to reproduce:

1. Apply <span class=""><a href="attachment.cgi?id=318247&action=diff" name="attach_318247" title="[PATCH v5] wayland: prefer subsurface when possible">attachment 318247</a> <a href="attachment.cgi?id=318247&action=edit" title="[PATCH v5] wayland: prefer subsurface when possible">[details]</a></span> <a href='review?bug=760213&attachment=318247'>[review]</a> from <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - wayland: use a subsurface for GDK_WINDOW_TEMP if attached to a toplevel"
   href="show_bug.cgi?id=759738">bug 759738</a>
2. Apply attachment to add the test with a grab tests/testpopupgrab.c
3. Build
4. run tests/testpopupgrab in Wayland
5. Click in the window

Actual result:

The pointer changes to a crosshair for a very short time and then revert to the
default cursor

Expected result:

The cursor specified in the gdk_seat_grab() remains

See also: <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - wayland: use a subsurface for GDK_WINDOW_TEMP if attached to a toplevel"
   href="show_bug.cgi?id=759738">bug 759738</a></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>