Bug 463323

Summary: Clipboard history sometimes does not work on wayland
Product: [Plasma] plasmashell Reporter: Etaash Mathamsetty <etaash.mathamsetty>
Component: ClipboardAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: major CC: bizyaev, kde, nate, zawertun
Priority: NOR Keywords: wayland
Version: 5.26.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.103
Sentry Crash Report:

Description Etaash Mathamsetty 2022-12-22 01:34:09 UTC
STEPS TO REPRODUCE
1. Try copying something 
2. Check clipboard history
3. 

OBSERVED RESULT
Clipboard history only shows #000000 on wayland

EXPECTED RESULT
should show what I copied

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: arch linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
when I run setClipboardContents using Qt Dbus viewer, it works fine, which is pretty strange.
Comment 1 Nate Graham 2023-01-06 18:57:35 UTC
What was the something you were copying, and what app was it in?

Is this 100% reproducible in all apps, or only some?

Have you changed any of the default clipboard settings?
Comment 2 Bug Janitor Service 2023-01-21 05:06:04 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Etaash Mathamsetty 2023-01-21 17:13:27 UTC
(In reply to Nate Graham from comment #1)
> What was the something you were copying, and what app was it in?
> 
> Is this 100% reproducible in all apps, or only some?
> 
> Have you changed any of the default clipboard settings?
No, and I don't think it's happening anymore, but I have to check
Comment 4 Etaash Mathamsetty 2023-01-22 23:25:53 UTC
Ok now it's not working on my PC which has a fresh KDE install, it's 100% reproducible in every single app (xwayland or not)
Comment 5 Etaash Mathamsetty 2023-01-22 23:27:56 UTC
I think this should be converted to a 15 minute bug as well
Comment 6 Nate Graham 2023-01-23 20:14:23 UTC
Wayland-only bugs aren't 15-minute bug at this point in time.

Does this happen for text copied from KDE apps, specifically?
Comment 7 Etaash Mathamsetty 2023-01-24 21:15:34 UTC
(In reply to Nate Graham from comment #6)
> Wayland-only bugs aren't 15-minute bug at this point in time.
> 
> Does this happen for text copied from KDE apps, specifically?

same behavior when I tested, I don't think it's happening anymore though, I have to check again
Comment 8 Etaash Mathamsetty 2023-01-24 21:15:47 UTC
(In reply to Etaash Mathamsetty from comment #7)
> (In reply to Nate Graham from comment #6)
> > Wayland-only bugs aren't 15-minute bug at this point in time.
> > 
> > Does this happen for text copied from KDE apps, specifically?
> 
> same behavior when I tested, I don't think it's happening anymore though, I
> have to check again

it seems to be an intermittent issue
Comment 9 David Edmundson 2023-01-27 22:30:59 UTC
Please confirm if this is still an issue after frameworks 102
Comment 10 Nate Graham 2023-01-27 22:33:48 UTC
*5.103
Comment 11 Ilya Bizyaev 2023-01-28 12:34:19 UTC
Marking as a duplicate of https://bugs.kde.org/show_bug.cgi?id=459335 because it has more information on this issue

*** This bug has been marked as a duplicate of bug 459335 ***
Comment 12 Etaash Mathamsetty 2023-08-08 19:31:33 UTC
working now on all my machines and plasma 6 as well, thanks :)