Bug 491924 - Clipboard is auto-synced on connection establishment though pref is off
Summary: Clipboard is auto-synced on connection establishment though pref is off
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: 23.08.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-20 01:55 UTC by Roy Orbitson
Modified: 2024-08-20 01:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Orbitson 2024-08-20 01:55:57 UTC
SUMMARY
On my PC, in KDE Connect's device settings for my phone, Clipboard is enabled but its setting to automatically share is off. This preference seems to be ignored when devices establish a connection on the same network.

STEPS TO REPRODUCE
1. Enable clipboard sharing on PC and Android devices. Set PC to not auto share anything.
2. Ensure devices are not connected to same LAN (e.g. temporarily disable wifi on phone).
3. Wait for PC to register that it's lost the connection to the phone.
4. Copy something unique on PC, i.e. not in clipboard history, or modify the last clipboard item.
5. Connect devices to same LAN again.

OBSERVED RESULT
Clipboard of Android device now contains the last item copied on the desktop, despite no explicit share (hamburger menu > Send Clipboard). I actually get a standard copy popup on my phone, with share and edit options, as if I had done it there.

EXPECTED RESULT
No change to Android clipboard.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
The pref is respected and further copy actions aren't propagated whilst a connection is maintained.