Bug 421563

Summary: Plasma applets (plasmashell/plasmawindowed) do not see clipboard on wayland
Product: [Plasma] plasmashell Reporter: Erin of Yukis <erin-kde>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.18.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.21
Sentry Crash Report:

Description Erin of Yukis 2020-05-15 13:06:40 UTC
SUMMARY
While the clipboard in general works without problems for me on Wayland (including syncing between X11 and Wayland apps), it is totally ignored for me when using any applet on Plasma. Copying data within a Plasma application works as expected and can be pasted both within the given Plasma window/shell and in other applications. Pasting data copied from any other application, including from a different Plasma application, is not possible however. This is most annoying, but not limited to, the Klipper/clipboard applet.

STEPS TO REPRODUCE
1. Run `plasmawindowed org.kde.plasma.clipboard` to open a standalone Plasma window (or just use the plasmashell)
2. Open any application containing copyable text (such as Konsole or KWrite)
3. Select some text to copy
4. Press Ctrl+(Shift)+C
5. Paste the clipboard contents using Ctrl+V or right-click→Paste into the Klipper search field

OBSERVED RESULT
The most recent item known to Klipper is pasted


EXPECTED RESULT
The text copied from the other application is pasted

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon user edition 5.18 64-bit x86 on Debian unstable
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Comment 1 Nate Graham 2021-03-04 20:38:15 UTC
Works for me. There were a lot of fixed for this in Plasma 5.21, so let's call it fixed there.