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

QMimeData: wrong image pasted from clipboard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • 6.2.5, 6.3.1, 6.4.0
    • 6.2.1, 6.2.2, 6.2.3
    • GUI: Drag and Drop
    • None
    • Windows 10 21H2, Windows 10 20H2, Windows 11, Qt 6.2.1, MSVC2019
    • Windows

      I have a strange issue on all my Windows platforms with Qt 6.2.1 and 6.2.2.
      I get a wrong image if I paste a screenshot of a window obtained with ALT+PRINT SCREEN.

      To replicate the issue:

      • compile and start the attached project (untitle.zip).
      • Press ALT+PRINT SCREEN and select a window (you can choose the application window)
      • Click Menu Edit -> Paste

      You should see the result of the attached image. The pasted image seems shifted.
      With Qt 5.15.2 all works fine.

      NOTE: pasting the screenshot on Microsoft Paint, then copy it into the clipboard and pasting on the Qt application solve the issue.

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

            vgt Eirik Aavitsland
            mircomir Mirco Miranda
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes