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

clipboard.mimeData().imageData() returning null on qt5/osx

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.1.0 RC1
    • 5.0.2
    • Core: I/O
    • None
    • OS X 10.7

      On Qt5.0.2 I'm seeing imageData() return null when called on the mime data fetched from the clipboard, even though it reports that it has an image. Very similar to this report that was made back on Qt4.5:

      http://www.qtforum.org/article/28190/mimedata-hasimage-returned-true-and-null-image-was-returned-mac-os-x-qt-4-5-2.html#post96689

      The same code was working correctly on Qt4.7 & 4.8. As an experiment I tried calling clipboard.image() directly, but while it returned something other than null, pasting the resulting data into a webview did not produce any discernable results, so I assume it was an invalid image.

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

            biochimia João Abecasis
            qtdae Damien Elmes
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes