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

    • Windows
    • db328ca97 (dev), 817404e39 (6.8), ba8fe265b (6.7), 32ce1184d (tqtc/lts-6.5), c1d2de095 (dev), 19706de70 (6.8), 9ad53d6ef (6.7), 9b5c079ca (tqtc/lts-6.5)

      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

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

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

              Created:
              Updated:
              Resolved: