Summary: | With "Save clipboard across desktop sessions" disabled, images are no longer shown in the clipboard widget and cannot be re-selected for pasting | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | fililip <team> |
Component: | Clipboard widget & pop-up | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, notmart, team |
Priority: | NOR | ||
Version First Reported In: | 6.2.90 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=498665 https://bugs.kde.org/show_bug.cgi?id=499117 |
||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
fililip
2025-01-14 19:37:52 UTC
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. |