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

QMimeData: wrong image pasted from clipboard

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • 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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes