Bug 507072

Summary: System tray does not reflect the state of the kdeconnectd daemon
Product: [Applications] kdeconnect Reporter: Rémi Piau <remi+kde>
Component: plasmoidAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: cagdasalagoz, remi+kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Rémi Piau 2025-07-15 18:13:12 UTC
SUMMARY
When the kdeconnect daemon (kdeconnectd) crashes or is killed kdeconnect system tray erroneously displays the "No device paired message" even if it is not the case.

STEPS TO REPRODUCE
0. Have a device paired in kdeconnect
1. Kill the daemon `ps -ax | grep "bin/kdeconnectd$" | cut -d ' ' -f 2 | xargs kill`
2. Open kdeconnect system tray

OBSERVED RESULT
System tray displays "No device paired" message but this is not the case.

EXPECTED RESULT
System tray displays an error message (daemon unavailable, you may have encountered a bug) and a button to restart it.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250711
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.4-1-default (64-bit)
Graphics Platform: Wayland