Bug 445574 - DBus Access to Refresh Button in KDE Connect
Summary: DBus Access to Refresh Button in KDE Connect
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-16 10:14 UTC by Gabor Körber
Modified: 2021-11-16 10:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Körber 2021-11-16 10:14:17 UTC
SUMMARY
***
KDE Connect sometimes loses connection over the network; I tracked it down to most likely being due to packet loss, which is induced by our WiFi situation (overlapping networks) which we can't change.

Finding devices again sometimes takes several minutes, once the connection breaks.

However, pressing "Refresh" in the KDE Connect Settings below the list of devices on the host usually fixes this problem instantly.

However unfortunately, pressing the refresh button cannot be automated easily.

I ask to simply expose this refresh Action via DBUS, if possible. This would allow a script that checks our usecase of using KDE Connect on a keyboard-less kiosk system to poll refresh, if no phone is connected every x sec, so we can at least reduce the outage time of network errors.
***


STEPS TO REPRODUCE
1. Set up KDE Connect by adding IP Adress
2. Have bad WiFi Connection
3. Wait until connection is re-established

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: latest Neon, however this issue persists since 3 years.