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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There is 1 open Gerrit change