Bug 497403 - clipboard on fedora desktop cleared by kdeconnectd
Summary: clipboard on fedora desktop cleared by kdeconnectd
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 24.08.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-13 08:59 UTC by BenderIRC
Modified: 2024-12-13 08:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BenderIRC 2024-12-13 08:59:18 UTC
SUMMARY

kdeconnectd clears the clipboard of the desktop pc permanently, but this happens randomly. 

watching "xsel -b -o" constantly you can briefly see the immediate clearing of the clipboard right after CTRL-C something into the clipboard.

STEPS TO REPRODUCE

none. happens randomly.

diagnosing it with: 

watch -n 0.5 'echo -n "primary:"; xsel -p -o;echo;echo -n "secondary:";xsel -s -o ;echo;echo -n "clip:"; xsel -b -o'

helps catching the brief moment, when the copied text is in the clipboard, but gets deleted immediatly.


OBSERVED RESULT

Setup: 
- Desktop PC Fedora atm 24.08.3 F40 Cinnamon DE
- Tablet ( Gnome DE with GSConnect Fedora 41 GS 46.6.1) 
- Tablet ( Gnome DE with GSConnect Fedora 41 GS 46.6.1) 
- Android 5
- Android 4 

The Androids are not in use most of the time, the tablet is in use very frequently, so my guess is, those two have been involved in the following incidents:

Before we start, this happens for more than two years now from time to time, with different constellations of devices active.

Two days ago, the clipboard stopped working after hours into the desktop session. 

Today it happened directly after starting of the Desktopsession. Because i suspected kdeconnect to be the issues, i tried to immediately "killall -9 kdeconnectd" which did not succeed as planed, because it got restarted instantly(new pid) for 20 times in a row untill i killed the kdeconnect-indicator two. ( You should really add a QUIT KDECONNECT to the system tray!).

After kdeconnectd was killed finally, the clipboard worked again as expected. 

EXPECTED RESULT

Sharing of the clipboard, not clearing it permanently.

SOFTWARE/OS VERSIONS

Fedora 40 Cinnamon Desktop kde-connect 24.08.3-1.fc40
Fedora 41 Gnome Desktop 46.6 kde-connect 24.08.3-1.fc41
KDE Frameworks Version:  5.116.0 and 6.8.0 (both F40+F41)
Qt Version: QT 5.15.15 and 6.7.2(both F40+F41)

ADDITIONAL INFORMATION