Bug 480605

Summary: Deleting a clipboard entry does not sync properly
Product: [Applications] kdeconnect Reporter: Tammes Burghard <kde>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: andrew.g.r.holmes
Priority: NOR Keywords: qt6
Version First Reported In: 24.01.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tammes Burghard 2024-01-31 15:35:30 UTC
SUMMARY
***
This might be an intended feature for normal use, but for the following use case, it is a security risk in my eyes:

I use the KeepassXC password manager which copies passwords to the clipboard and automatically deletes them from the clipboard after ten seconds. If my device is connected to another device, the password remains in the clipboard history of that other device.
***


STEPS TO REPRODUCE
1. Have two devices (running Plasma 6.0 RC1) connected to each other with clipboard sharing enabled
2. Copy two pieces of text to the clipboard (we need at least two entries in the clipboard history)
3. Delete the most recent entry from device A using the clipboard history plasmoid

OBSERVED RESULT
The entry is deleted on device A, but on device B, it is swapped with the second most recent entry

EXPECTED RESULT
The entry gets deleted on both devices. At least if it was added to the clipboard by device A

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.1-arch1-1 (64-bit)
Graphics Platform: Wayland