Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40346

QDrag on Mac ignores custom cursors and adds rectangular drag artifact

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.3.1
    • QPA
    • None
    • macOS

    Description

      QDrag on the Mac ignores calls to setDragCursor. Regardless of what you set, the standard cursor is used. Additionally, executing a drag causes a rectangular artifact to be drawn near the mouse. A workaround for this is to set a transparent image via QDrag::setPixmap.

      To reproduce:

      • Run the attached project on both Windows and Mac. Windows obeys the custom drag cursor, while the Mac does not.

      Attachments

        1. ListDragAndDrop.zip
          7 kB
          Ben Medina
        2. qtbug40436.zip
          6 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            filipe.azevedo Filipe Azevedo
            bmedina Ben Medina
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes