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

[macOS] High DPI drag cursor is scaled up 2x on retina display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.9.3
    • 5.8.0
    • QPA
    • MacOS Sierra (10.12.4 and 10.12.1)
    • macOS
    • d0736e9d17d0b3ec2f7aa3f323a1edf70aa83e27

      When using a custom high dpi pixmap for cursor and setting it with QDrag::setDragCursor(), the shown cursor is twice as large as it should be. Setting the same pixmap with QWidget::setCursor() shows the cursor in correct size.

      See the attached example for reference. The cursor of the application is set with QWidget::setCursor() and it has correct size. Now drag any of the texts from left to right and see the extra large cursor on top of right hand side drop area.

        1. qtbug60769.zip
          14 kB
          Qt Support
        For Gerrit Dashboard: QTBUG-60769
        # Subject Branch Project Status CR V

            sorvig Morten Sørvig
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes