Bug 443139

Summary: Copying text sometimes copies nothing
Product: [Plasma] kwin Reporter: Aadniz <kristianaa25>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: lee295012
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Clipboard history test

Description Aadniz 2021-09-29 21:32:26 UTC
Created attachment 142020 [details]
Clipboard history test

SUMMARY
Sometimes, when copying (either if it's CTRL + C or Right click, copy), it will copy nothing.

STEPS TO REPRODUCE
I was not able to re-produce the issue inside a VM.

OBSERVED RESULT
Sometimes, when copy pasting, the clipboard appears empty (wiped or contains nothing).
Looking at clipboard history, last item after the issue appears, is blank text, nothing.
Testing within a single application, it seems like once you have copied nothing, the next time you copy, it will work. It alternates between copying nothing, and copying the text.
Testing between different applications, sometimes it copies nothing (clipboard item is nothing), sometimes it copies the text, and sometimes the copy doesn't copy (clipboard does not update)

EXPECTED RESULT
Copy to clipboard should not copy nothing, and should copy the text selected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 5.14.8-arch1-1, Plasma 5.22.5
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

This bug report is in regards for the reddit (meme) post I posted: https://www.reddit.com/r/linuxmasterrace/comments/pxdvay/wayland_experience_in_1_picture/
Comment 1 Vlad Zahorodnii 2021-09-30 05:53:23 UTC
There were many clipboard improvements in 5.23, I believe this one should be fixed as well. If you're able to reproduce it in 5.23, please reopen this bug report.