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

text/html MIME type seems not work on Android Clipboard

XMLWordPrintable

    • Android
    • 4aac07d0237cd4895f670ae2df6a8844ab91b699 (qt/qtbase/5.12)

      text/html mime type is not stored in clipboard on Android devices. QMimeData seems to be working fine with setHtml() but when you set the mimetype to QClipboard with setMimeData() and then get it with mimeData() function, QMimeData does not have html content at all. text/plain is working as expected

      Please find the attached example project to demonstrate this issue. Tested the same example app on Mac, Windows and Linux and it works fine on those.

        1. android_text_html.7z
          2 kB
          Pekka Karjalainen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            andysh Andy Shaw
            pekarjal Pekka Karjalainen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes