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

wasm: clipboard improvements

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.10.0 Beta3, 6.11.0 FF
    • 6.9.1
    • GUI: Other
    • None
    • Edge, Chrome and Firefox on Windows 10

    • WebAssembly
    • 1b24cfdac (dev), 910523718 (6.10)

      1. There is a trick to write multiple mime types to the clipboard. You only create one clipboard item with several entries. Don't try to create more than one clipboard item.

      see here:

      https://www.stefanjudis.com/notes/a-clipboard-magic-trick-how-to-use-different-mime-types-with-the-clipboard/

      or my code fragment in attached file qwasmclipboard-writeToClipboardApi.cpp.

      2. Actual it is not possible to write HTML and something else to the clipboard. If HTML is present, you discard everything else. It would by nice, to support all mime types.

      3. Support for mime types with "application/..." is possible in some browsers as "web application/...".

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

            qt.webassembly qt.webassembly
            volkerh Volker Hemsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes