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

Clipboard empties when resizing in GNOME Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 6.7.0
    • QPA: Wayland
    • None
    • Arch Linux, Qt 6.7.0 & GNOME 46.1
    • Linux/Wayland

    Description

      This issue looks like a regression of https://bugreports.qt.io/browse/QTBUG-93474.

      Same as QTBUG-93474, this bug only occurs when clipboard is filled by other applications, and switching to other apps and back could restore the clipboard. However, simply right clicking seems not triggering this - instead, resizing window (and maybe some other approaches, but I could reproduce with resizing reliably) empties clipboard this time.

      In https://codereview.qt-project.org/c/qt/qtwayland/+/360355, if `dataDevice->invalidateSelectionOffer();` is commented out in `QWaylandDisplay::handleWaylandSync()`, the clipboard would not be emptied.

      Attachments

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

        Activity

          People

            davidedmundson David Edmundson
            taoky tao ky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes