<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cursor corruption using large cursors"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82273">82273</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cursor corruption using large cursors
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jan.steffens@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Cursors larger than some size (64×64, I believe) get corrupted.

While I don't have cursor themes that large, GTK3's drag and drop supports
setting drag images. When these drag images — composed with the dragging cursor
icon — fit into the cursor size limit, the cursor is set to the composed image
instead of creating a new window to display the image.

I originally noticed this in Firefox' GTK3 port. I reproduced it using GTK3's
testdnd test.

---

To reproduce:

Set cursor theme to Adwaita, with size at least 32. Size 24 is not enough to
reproduce.

Get <a href="https://git.gnome.org/browse/gtk+/plain/tests/testdnd.c">https://git.gnome.org/browse/gtk+/plain/tests/testdnd.c</a> .

Remove the #include "config.h".

Compile using "gcc -o testdnd $(pkg-config --libs --cflags gtk+-3.0)
testdnd.c".

Run testdnd.

Start dragging from the "Drag Here" button.

With cursor size at least 32:
When dragging over the "Drag Here" button, the cursor is corrupted.

With cursor size at least 48:
When dragging over the "Drop Here" button, the cursor is corrupted.

---

(For some reason, I had to restart gnome-shell for cursor size changes to apply
to the dragging cursors.)

gtk3 3.12.2
gnome-themes-standard 3.12.0

xf86-video-intel 2.99.914-22-g926631e
xorg-server 1.16.0
linux 3.16

Thinkpad X220 (SNB)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>