[Bug 82273] New: Cursor corruption using large cursors

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 6 19:52:40 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82273

          Priority: medium
            Bug ID: 82273
          Assignee: chris at chris-wilson.co.uk
           Summary: Cursor corruption using large cursors
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: jan.steffens at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Driver/intel
           Product: xorg

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 https://git.gnome.org/browse/gtk+/plain/tests/testdnd.c .

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)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140807/904aa334/attachment.html>


More information about the intel-gfx-bugs mailing list