Bug 492170

Summary: clipboard widget: content is saved across desktop sessions despite "save history across desktop sessions" is UNchecked
Product: [Plasma] plasmashell Reporter: Liz Lee <waynejwoww>
Component: Clipboard widget & pop-upAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: qydwhotmail
Priority: NOR    
Version First Reported In: 6.1.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:

Description Liz Lee 2024-08-25 15:22:59 UTC
content in the clipboard widget is saved across sessions despite "save history across desktop sessions" is UNchecked

STEPS TO REPRODUCE
1. uncheck the checkbox "save history across desktop sessions" in the "configure clipboard" menu.
2. copy something to the clipboard (e.g. via ctrl+c).
3. log out, shutdown or reboot (happens even if one does it the ordinary way via using the buttons of a kde launcher menu, i.e. NOT via rebooting with a "systemctl reboot" command or something like that.) 

OBSERVED RESULT
clipboard is not empty. copied items are still listed in the clipboard after re-login or (re-)boot.

EXPECTED RESULT
clipboard should be empty.

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 Fushan Wen 2024-08-27 15:05:43 UTC
Fixed in 6.2, though not sure why it's broken before.
Comment 2 Bug Janitor Service 2024-08-27 15:11:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4653
Comment 3 Fushan Wen 2024-08-28 09:04:59 UTC
Git commit 4f55f7254b3008e6e036a54dd04ee6b74b9a2955 by Fushan Wen.
Committed on 28/08/2024 at 08:45.
Pushed by fusionfuture into branch 'master'.

appiumtests: test saving history across sessions

M  +8    -1    appiumtests/applets/clipboardtest.py

https://invent.kde.org/plasma/plasma-workspace/-/commit/4f55f7254b3008e6e036a54dd04ee6b74b9a2955