Created attachment 128593 [details] What dolphin looks like after an incomplete transfer and the system freezing. SUMMARY Hey looking for help with debugging this. Problem is kinda wonky. When I say more than one. I mean I've had this occur with as little as 2 files. Let me try to walk you all through how I've been testing this though. I will take about 30 to 35 pictures on my phone at random and try to share them through kdeconnect. Sometimes this outright fails. Immediately trying again or this may occur the first time, usually kdeconnect transfers most of the files in question. I've tried multiple times with the exact 31 files as well. Sometimes 15 files make it through before the transfer notification stops and just sits there on the desktop saying recieving indefinitely. Other times 22 files may make it through. The point is it varies from transfer to transfer. This makes it hard to guess at it being a specific file as well. If I go to the Downloads folder, I see that wherever it got stuck at is accurate by looking at the number of files in that directory. Cancelling the transfer via the stop button in the notification will then trigger extreme lag throughout plasma altogether. To the point of trying to open an application taking as long as 10-15 seconds. Then once the app say dolphin does open it isn't even fully loaded. It makes my ssd look like an hdd again. Looking for a way to debug this in order to provide better information on this. STEPS TO REPRODUCE 1. Download android app on your phone from play store or wherever. 2. Pair with laptop/desktop using the latest kde plasma on openSuse TW 3. Update tumblweed by adding the kde stable repos for tumbleweed. 4. Try to share about 30 files or so from your phone to the desktop OBSERVED RESULT At some point during the transfer it freezes. EXPECTED RESULT All files to be transferred and receiving notification disappears upon completion. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20200516 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.14.1 Kernel Version: 5.6.12-1-default OS Type: 64-bit Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz Memory: 15.4 GiB of RAM ADDITIONAL INFORMATION Transferring exactly one file is usually pretty smooth. However, it does not trigger a notification like when I transfer multiple files. The file is successfully found in my Downloads folder though.
Created attachment 128594 [details] Indefinite Transfer
Created attachment 128595 [details] Failed Partial Transfer that occurs after first transfer attempt
After playing with it for a while. I believe these crashes may specifically affect dolphin.
Created attachment 128597 [details] May be Interesting output from one plus 7 pro
Going to continue to document stuff here as I try more stuff. I tried starting plasmashell from the terminal to hopefully gain some insight from what causing the problem when I try to share files. I tried 34 different pictures this time. It says 33 out of 34 failed and I once again have the infinite receiving notification. The terminal gave me only two line when this happened that may be useful. Output: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/CompactRepresentation.qml:136: ReferenceError: jobProgressItem is not defined file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/CompactRepresentation.qml:135:13: QML PropertyChanges: Cannot assign to non-existent property "visible"
More output I got from the terminal after another lagfest. kdeconnect.interfaces: error while refreshing device list "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." kdeconnect.interfaces: error while refreshing device list "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." kdeconnect.interfaces: error while refreshing device list "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." kdeconnect.interfaces: QDBusError("org.freedesktop.DBus.Error.NoReply", "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.") Comments: My internet seems to be working fine, but kdeconnect seems to be having trouble. Nothing has changed with the network to my knowledge.
Further observations: If the desktop starts to lag, even though the lag will eventually stop. I have found that in some cases both devices are unable to discover each other on the same network. By turning the wifi on my laptop off and on. I saw that the icon for kdeconnect doesn't diappear when the device becomes unreachable when in this state. A reboot is required to fix. Hardware info I forgot to mention: Laptop: Asus Q325ua, intel integrated graphics. Phone: One Plus 7 Pro (rooted)
Created attachment 128598 [details] Kdeconnect systemd messages via yast
Created attachment 128599 [details] Kdeconnect systemd messages via yast 2
killing and launching kdeconnectd is an alternative to simply rebooting.
Killing and relaunching kdeconnectd then retrying to share files cause a crash in kdeinit5 will upload backtrace with debug symbols next.
Created attachment 128602 [details] Kdeinit5 Crash Backtrace with Debugging Symbols
Taking a screenshot with spectacle of rectangular region. Then hitting the hamburger menu causes the slowdown after failing to send files via kdeconnect. Killing and restarting kdeconnectd after this then trying to send about 30 files or so yields a greater chance of success. Although my success rate is 1 in 3 at the time of writing.
Alright gonna try to clean up this flurry of update posts before bed. What happens is that I am having problems sending multiple files via kdeconnect from my phone to my laptop. This much is consistent. Most times it tries to send the files and then immediately fails while only leaving a partially transferred file in the downloads directory. Playing around with it by killing and restarting both plasmashell and kdeconnectd. I can get it to transfer about half of the files. It transferred all the files exactly once after trying seven times. At least once during testing of this bug following the procedures laid out in this comment, kdeinit5 crashed. A backtrace with debugging symbols has been provided as one of the attachments. Transferring a single file does not send a notification and has a higher chance at succeeding than sending multiple files.
Android app version is 1.14.2 from playstore.
Lastly as part of comment number 14. If I try to take a screenshot with spectacle after failing to transfer files via kdeconnect. Plamashell will start lagging severely. This may be a separate issue, but I discovered it as a result of the initial issue.
Doesn't seem to be the bug I thought it was. What happens is if I reboot my phone things work correctly. After a while the problems listed above start to occur. May be a combination of android 10 problems as well as android and one plus overly aggressively limiting/killing background tasks.