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

QMimeData: wrong image pasted from clipboard

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.1, 6.2.2, 6.2.3
    • Fix Version/s: None
    • Component/s: GUI: Drag and Drop
    • Labels:
      None
    • Environment:
      Windows 10 21H2, Windows 10 20H2, Windows 11, Qt 6.2.1, MSVC2019
    • Platform/s:
      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

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

          Activity

            People

            Assignee:
            qt.team.graphics.and.multimedia Qt Graphics Team
            Reporter:
            mircomir Mirco Miranda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes