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

[Reg 5.3->5.4] QClipboard fails to create DIB from image with transparency

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.5.1
    • 5.4.1
    • QPA: Windows
    • None
    • Windows 7 / Windows 8.1, 64bit
    • bc867b179451a4c06c669f03f4598ea8799ad9f6 (qtbase/5.5, 25.8.2015, 5.5.1)

    Description

      Steps:
      1. Create a QImage object with transparency.
      2. Save the image to the clipboard using QClipboard::setImage.
      3. Paste the clipboard into other applications.
      Note: In Word and Outlook, the paste fails as the DIB (CF_DIB) is null.
      This used to work fine in 5.2.1 (as well as 4.8.6 and 4.7.4).

      I've attached clipboard output for comparison.

      Attachments

        1. qtbug47656.zip
          2 kB
        2. qtbug47656_word_log.txt
          16 kB
        3. qtbug47656_mspaintpaste_log.txt
          2 kB
        4. qtbug47656_mspaint_log.txt
          14 kB
        5. qtbug47656_gimppaste_log.txt
          2 kB
        6. qtbug47656_gimp_log.txt
          13 kB
        7. qtbug47656_diag2.diff
          5 kB
        8. qtbug47656_diag.diff
          8 kB
        9. qtbug47656_consecutivecopy_log.txt
          16 kB
        10. CopyToClipboard.png
          CopyToClipboard.png
          9 kB
        11. CopyToClipboard_Qt541.html
          4 kB
        12. CopyToClipboard_Qt521.html
          3 kB

        Issue Links

          Activity

            People

              kleint Friedemann Kleint
              kaylx Kaylx
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: