The halting has been an issue I've experienced with kdeconnect going back as far as I can remember. It's as if a timeout or retry is not handled properly. Actually it seems like two issues now: 1. Some transfer failure results in the Android and Linux side sitting there in a transfer -- never progressing, and on the Android side never ending (notification just stays there, at some count through, saying "Sending 10 {or whatever} files to..."). Once failed, it usually won't let me get any other transfers to start. 1a. This usually and frequently happens with "large" numbers of files. 10 isn't very large, but right now my 10 is sitting there halted also. 2. Last week, with another linux box, I couldn't get a single file to transfer, and no notifications would pop up on the linux end. Currently on android (OnePlus 6, OxygenOS), with kdeconnect 1.19.1. Linux side is Debian Stable with kdeconnect package version: 20.12.3-2 (I could find some other bug reports with a crashing linux side, it seems, but not this silent failure.) STEPS TO REPRODUCE 1. Go to photos, select one or more 2. Share -> KDE connect -> {system name} or one of the Share items with "KDE connect {System name}" as a single option. 3. Wait for transfer to just stop somewhere and not progress. OBSERVED RESULT 1. Transfer either doesn't start, or just hangs at some file count. EXPECTED RESULT 1. Failed transfers should definitely time out, or preferably retry until they succeed, with a longer timeout if it never works (and a notification showing the last fully-completed file transferred). SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.20.5 KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.10.0-13-amd64 Qt Version: 5.15.2 ADDITIONAL INFORMATION Using the file-transfer module from the PC, accessing the android filesystem -> DCIM, and transferring, seems to work consistently, without timeouts or hangs. Thank you for kdeconnect. :)
I was able to reproduce the problem: 1. On my Android, I opened KDE Connect and selected Send Files 2. From the DCIM folder I selected 6 png files 3. Tapped Select Result: On the Android, KDE Connect reports "Failed sending 6 of 6 files to <system name>" On the laptop, KDE Connect says Receiving file 6 files to Downloads I attempted to transfer one text file, 67.21 KB 67.21 KB = 65.634765625 KiB In Dolphin, the file was present in the Download folder with a size of 65.6IiB The notification pop up had a bar that just kept going back and forth. Inspecting the file, it looked complete I force closed KDE Connect. Attempting to send the same file a second time also succeeded and this time the laptop notification showed the transfer as complete. Another text file sent completed normally. After that, I was able to successfully send 6 jpg files from the phone's DCIM folder on the SD Card (also from DCIM on internal storage) Sending 12 images was successful, as was 30 In summary: The first few attempts at sending files succeeded but the phone said it failed and the laptop notification hung After force closing KDE Connect and restarting it, file transfers worked as normal, no error on Android and the notification did the right thing
Actually, I'm going to close this as a duplicate of #450905 which describes very similar behavior but is older *** This bug has been marked as a duplicate of bug 450905 ***