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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes