SUMMARY Images are not shown in the clipboard widget anymore and they cannot be re-used for pasting after copying something else. Additionally, QR code generation fails when requested on them, unsure if that's meant to work, I had not tried it before I updated to 6.2.90. STEPS TO REPRODUCE 1. Copy an image to clipboard OBSERVED RESULT The resulting image entry is empty and cannot be re-used EXPECTED RESULT The image entry contains the copied image and allows re-using it later SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.2.90 KDE Frameworks Version: 6.10.0 Qt Version: 6.9.0 Kernel Version: 6.12.9-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: AMD Radeon RX 6600 XT
Update: this is broken only if I disable preserving clipboard history across sessions.
> Update: this is broken only if I disable preserving clipboard history across sessions. Can you clarify exactly how you did that? And can you also be specific about how you copy an image to make it fail to appear in the pop-up?
*** Bug 498665 has been marked as a duplicate of this bug. ***
> Can you clarify exactly how you did that? There's an option called 'Save history across desktop sessions.' Only with it enabled does the clipboard work as expected on 6.2.90. Note that in order for it to take effect plasmashell needs to be restarted. > And can you also be specific about how you copy an image to make it fail to appear in the pop-up? Either in a browser (with 'copy image'), nomacs ('copy buffer') or Spectacle after taking a screenshot.
Thanks, TIL. I totally failed to ever notice that setting. Did you actually restart the system after disabling the setting, or is it sufficient to simply disable the setting and then copy an image?
Disable the setting, restart plasmashell (I did it with `pkill plasmashell` and `plasmashell` in the Alt+F2 menu) and then copy an image.
Can confirm, very strange. Of note: when I re-enable saving history across sessions and restart plasmashell, the copied image appears in the history as though it was secretly there all along.
on master copying images with that option disabled seems to work for me. tough a possible relevant thing is that i get on terminal the following warning when doing so: kf.kio.workers.file: Couldn't rename "/home/diau/.local/share/klipper/data/d561c1b7e569a0e800a361538fd0efb6dffcee4b/2f00a3fb06a1b97e04d90783128502bf7fe1a83f.part" to "/home/diau/.local/share/klipper/data/d561c1b7e569a0e800a361538fd0efb6dffcee4b/2f00a3fb06a1b97e04d90783128502bf7fe1a83f"
Would it be possible to make it so that nothing gets saved to disk with that option disabled (by storing the sqlite db in memory), if nothing is to be preserved after a shell restart anyway?
I compiled plasma-workspace from master and the clipboard works as intended again. However, I still don't know what fixes it or if it's gonna work on 6.3.
Fixed in 6.3.