Plasmashell high CPU usage due to clipboard

Hello,

Operating System: OpenMandriva ROME 25.01
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.9-desktop-1omv2490 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20NTCTO1WW
System Version: ThinkPad L390 Yoga

Selecting text in any context, while there is an item in the clipboard, causes the plasmashell process to ues 80-90% CPU. This only happens ins Wayland.

  • mousing over any part of plasma (desktop, task bar) causes this to stop
  • When the mouse touches these areas, any newly copied data is destroyed (not in clipboard, CTRL + V pastes old data)
  • clearing the clipboard stops this from happening until something else is copied
  • the clipboard only seems to hold on to the original item, does not have more than one item

Clipboard settings:

  • Clipboard history OFF
  • History size 20
  • Selection and Clipboard OFF
  • Non-text selection Only when explicitly copied

I have tested this on a fresh live boot session of Rome Wayland, and it still happens, although with a lower CPU usage (~30% CPU on plasmashell) but all other symptoms are the same.

1 Like

Welcome! We already know you from Matrix, but it is good to see you on the forums too.

Yes, the clipboard doesn’t seem to work with Wayland. I don’t think anyone has figured out why at this point. X11 works fine, but a lot of people want to run Wayland. It’s the shiny new thing.

This can work till they fix the clipboard.

Yes this solution works quite well, if one doesnt want to use the clipboard history that is :stuck_out_tongue:

I used this for a while before I got too frustrated with the screenshots disappearing. From what I’ve read, there is a (bug?) in KDE that if you copy something ie media, and the source of that copy closes, the copy disappears. This makes sense mostly, apart from the screenshot tool.

I am very used to the windows workflow of SHIFT+WIN+S for quickly screenshotting things, however with the clipboard disabled, there is nowhere for that screenshot to be stored, so it times out after a few seconds…

I do hope it gets fixed soon. Unfortunately X11 KDE doesnt work well with my touchscreen+stylus laptop, and wayland makes things far nicer…

For now, it’s just a matter of priorities. :slightly_smiling_face:

I had thought the clipboard got fixed for Wayland. I tested it just now and it’s still busted. It’s so annoying!

Like @WilsonPhillips said, disabling it is really the only workaround at this time. What a shame…

1 Like

It is what it is. I will be glad to see it fixed, so I don’t have to keep breaking people’s hearts. :grinning:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.