https://bugs.kde.org/show_bug.cgi?id=503515

            Bug ID: 503515
           Summary: Clipboard no longer available after app that was
                    copied from quits, even for Wayland apps
    Classification: Plasma
           Product: kwin
           Version: 6.2.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: e...@horse64.org
  Target Milestone: ---

SUMMARY

(My apologies if this isn't handled by KWin, I wasn't sure.)

It seems like even for simple small text items, the clipboard in KDE is no
longer available after app that was copied from quits. This seems to be the
case even for native Wayland apps, where I thought this legacy problem from X11
was meant to be fixed (wasn't it?). I would like to suggest this behavior is
undesired and unexpected for most users, at least as long as the clipboard
contents are small enough that there aren't any unreasonable resources being
used to keep it available even after the source app has terminated.

STEPS TO REPRODUCE

1. Open any CTRL+C Wayland native app. I tried Brave and an Electron app, both
via flatseal forced to use native Wayland.
2. Copy any text inside the app. Leave the app running.
3. Paste the text in e.g. KWrite or gedit to test that the clipboard works.
4. Terminate the source app now.
5. Try to paste again in e.g. KWrite or gedit to test that the clipboard no
longer works.

OBSERVED RESULT

Pasting even small contents no longer works after source app quits.

EXPECTED RESULT

At least for native Wayland apps and for reasonably small clipboard contents,
the contents should remain available indefinitely until something new is
copied.

SOFTWARE/OS VERSIONS

Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: postmarketOS v24.12
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to