https://bugs.kde.org/show_bug.cgi?id=470085

            Bug ID: 470085
           Summary: App does not reconnect on wifi connect
    Classification: Applications
           Product: kdeconnect
           Version: unspecified
          Platform: Android
                OS: Android 12.x
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: thas5egh2chae...@pm.me
                CC: andrew.g.r.hol...@gmail.com
  Target Milestone: ---

SUMMARY
The android app does not reconnect with the computer on its own after
reconnecting to the wifi network.
It doesn't matter if the app is open, the notification and the app screen both
show no connections.
Closing the app and opening it again does reconnect.

STEPS TO REPRODUCE
1. Turn off phone wifi
2. Turn on phone wifi

OBSERVED RESULT
Not connected to any device

EXPECTED RESULT
Connected to computer

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: n/a
(available in About System)
KDE Plasma Version: n/a
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
I have reinstalled the app.

logcat shows this suspicious message:
05-21 13:28:09.840   967  1032 W BroadcastQueue: Background execution not
allowed: receiving Intent { act=android.net.wifi.WIFI_STATE_CHANGED
flg=0x4000010 (has extras) } to
org.kde.kdeconnect_tp/org.kde.kdeconnect.KdeConnectBroadcastReceiver

This behaviour is relatively recent, it used to work fine. Looking through
other bug reports led me to this merge request
https://invent.kde.org/network/kdeconnect-android/-/commit/fd34e56675dd7e982e22abb051400804ab5ede67
which could fit into the time frame.
I downloaded the latest version before this, 1.20.2, from APKMirror and could
not reproduce, that version reconnects fine.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to