SUMMARY For a few months now the clipboard applet is misbehaving. I'm running KDE5 (I know it's not the latest) on wayland (I have the impression that those 'few months' are related to my switch to wayland), and I enabled "keep the selection and clipboard and same" (this is how I've been using this for _ages_ now, most probably since KDE3.) STEPS TO REPRODUCE 1. Select some text with the mouse. This should copy the text to the selection and, by the setting, to the clipboard. 2. Quickly (it might be time related) paste with the keyboard, actually pasting the clipboard, not the selection. OBSERVED RESULT 3. The wrong (usually the previous to last) text is pasted 4. If I invoke the clipboard items, no item is selected (I have the impression this is part of the bug). EXPECTED RESULT 5. The last item in the item list is selected and pasted. ADDITIONAL INFORMATION mdione@ioniq:~$ dpkg -l | grep wayland ii kwayland-data 4:5.115.0-2 all Qt library wrapper for Wayland libraries - data files ii kwayland-integration:amd64 5.27.11-1+b1 amd64 kwayland runtime integration plugins ii kwin-wayland 4:5.27.11-1+b1 amd64 KDE window manager, wayland version, PREVIEW release ii libkf5waylandclient5:amd64 4:5.115.0-2+b1 amd64 Qt library wrapper for Wayland libraries ii libqt5waylandclient5:amd64 5.15.13-2 amd64 QtWayland client library ii libqt5waylandcompositor5:amd64 5.15.13-2 amd64 QtWayland compositor library ii libwayland-client++1:amd64 1.0.0-6 amd64 wayland compositor infrastructure - client library C++ bindings ii libwayland-client0:amd64 1.22.0-2.1+b1 amd64 wayland compositor infrastructure - client library ii libwayland-server0:amd64 1.22.0-2.1+b1 amd64 wayland compositor infrastructure - server library ii plasma-workspace-wayland 4:5.27.11.1-1 amd64 Plasma Workspace for KF5 - Wayland integration ii qtwayland5:amd64 5.15.13-2 amd64 QtWayland platform plugin
Can you try this again in a new clean user account? If it works there, that would suggest that some customization in your current user account is causing it. Possible the setting to sync the clipboard with the latest selection. In any event, it would be great if you can find the exact combination of settings that causes the issue. Thanks!
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!
I just tried. To start with, the UI is quite different, but that must be related to the system wide changes I made (style,. colors, etc). Behaviorly, the applet seems to work fine, but as I mentioned, sometimes it feels like it's time related. The only thing I can tell is that, even if pasting with the keyboard works fine, when I invoke the Items Menu, the topmost item IS the text I just C&P'ed, but it's not 'selected' (no checked checkbox at it left). Is this as intended?
BTW, could you tell me where the config for the applet is? I would like to save a copy before playing with the options.
Checkbox? I don't understand. The default clipboard widget doesn't have checkboxes. Can you attach a screenshot of the thing you're talking about?
Created attachment 171048 [details] clipboard items menu with a checkbox by the currently selected item This is the menu I get when I invoke the Show Items at Mouse Position action. I invoked it twice: once to select the item, and another to show the selected item with its checkbox.
That's some weird styling. Are you using this outside of Plasma, or with a custom QStyle?
The style is called Fussion, not sure if it's out of the box or I installed; I have definitely not compiled it myself. Honest question: Isn't just easier if I post the config files?
Sure, send over your ~/.config/klipperrc file.
mdione@ioniq:~$ cat ~/.config/klipperrc [General] IgnoreImages=false IgnoreSelection=false SyncClipboards=true Version=5.27.11
Thanks. With those exact settings I can't reproduce the issue at all on current git master, which will become Plasma 6.2 in a few months. A *huge* number of Wayland clipboard fixes have been merged in the year and a half since Plasma 5.27 came out, so for now let's call this fixed in Plasma 6.2. If you still experience the issue after upgrading to that version, feel free to re-open the bug report, though. Thanks again!