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

Async clipboard API doesn't work on Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.2
    • 5.14.2
    • QPA: Wayland, WebEngine
    • None
    • Linux/Wayland

    Description

      When e.g. going to https://github.com/qt/qtbase on Wayland and using the "Copy to clipboard" button in the "Clone or download" menu, nothing is copied and I get a Uncaught (in Promise) DOMException (can't seem to get more information).

      I've tried to reproduce this using simplebrowser, but there, copying doesn't seem to work at all for some reason: I get a NotAllowedError: Write permission denied., but copying in response to a user gesture should always be allowed (and that's the case in my own project, without setting JavascriptCanAccessClipboard).

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes