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

Dragging text on HighDPI screen results in a warning "QPixmap::scaled: Pixmap is a null pixmap"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.6.1
    • QPA: Windows
    • None
    • Windows

    Description

      Reproducing the warning is pretty simple. In this case you can use the Qt example: "Simple Text Viewer" https://doc.qt.io/qt-6/qtassistant-simpletextviewer-example.html

       

      Load the file into the text editor of the example application, highlight some text and try dragging it on a HighDPI display. The warning is logged onto the console:

       

       

      PS:

      The warning seems to come from:

      QWindowsOleDropSource::createCursors()

       

      I found another ticket related to this: https://bugreports.qt.io/browse/QTBUG-62787?focusedId=395296

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            shzli SZ LI
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes