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

Windows: Corrupt image data when pasting images from the clipboard to some applications

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2
    • QPA: Windows
    • None
    • Windows

    Description

      Background: A while ago I made this change for QTBUG-100351, the problem back then was that we didn't read CF_DIB data correctly, specifically when pasted from the windows snipping tool. (Since then the snipping tool has changed and is now using CF_PNG)

      Now a couple of years later, when copying from Qt to for example Photoshop, pasting produces a CF_DIB that is offset by 3 pixel columns due to the 3 values I added in the dibv5 writer, basically inverting the issue in QTBUG-100351. Apps that read the CF_DIBV5 seems to still work like Paint.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-128567
          # Subject Branch Project Status CR V

          Activity

            People

              owolff Oliver Wolff
              cyriuz Viktor Arvidsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change