Bug 458940 - Turning off iOS display causes disconnect and failure to reconnect
Summary: Turning off iOS display causes disconnect and failure to reconnect
Status: CONFIRMED
Alias: None
Product: kdeconnect
Classification: Applications
Component: ios-application (show other bugs)
Version: 22.08.1
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Lucas W.
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-10 00:22 UTC by ptmoley
Modified: 2023-01-31 02:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ptmoley 2022-09-10 00:22:03 UTC
SUMMARY
After pairing is complete, if I turn off the display of iOS device and back on, I can no longer connect with my desktop. In order to connect again, I need to unpair from the desktop application and "Erase saved devices cache" on my iOS device.

***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Pair iOS device with desktop
2. Turn display off on iOS device
3. Turn display on on iOS device

OBSERVED RESULT
On the iOS app:
My desktop will go to the "Remembered Devices" section of the app with a red wifi symbol next to it. If I perform a "Refresh Discovery" on the app, my desktop briefly goes into the "Connected Devices" for less than half a second before returning to "Remembered Devices".

On the desktop application:
My iOS device shows up under the "Remembered" column as "Device disconnected" with the message: "This device is not reachable". On my KDE Connect Settings page, if I hit Refresh, it actually performs a refresh on the iOS app as well (on the iOS app my desktop jumps briefly to "Connected Devices")

EXPECTED RESULT
After turning iOS display back on, I expect phone to automatically reconnect to desktop app (or perhaps never to be disconnected in the first place?)

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: 19.7-arch1-1 (output of uname -r)
(available in About System)
KDE Plasma Version: n/a (using xfce4)
KDE Frameworks Version: n/a
Qt Version: qt5-base 5.15.6+kde+r165-1

ADDITIONAL INFORMATION
Comment 1 Apollo Zhu 2023-01-31 02:01:13 UTC
Tracked as https://phabricator.kde.org/T15939