Bug 442193 - Cancel sending files doesn't stop kio_file proces
Summary: Cancel sending files doesn't stop kio_file proces
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-08 19:58 UTC by Piotr Mierzwinski
Modified: 2025-09-30 19:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2021-09-08 19:58:57 UTC
SUMMARY
I send several files from Android to my PC and in the middle click "Cancel" button on progress dialog. Progress window disappear, so we think that sending process stopped, but it didn't
I run in terminal command:
ps -ef | grep kdeco 
and found still working process kio_file

0:00:00 kio_file.so [kdeinit5] file local:/run/user/1000/klauncherFsicHy.1.slave-socket local:/run/user/1000/kdeconnect.daemonQdIljE.2.slave-socket

STEPS TO REPRODUCE
1. in kdeconnect pair your Android smartfon with your PC 
2. send several files from Android to your PC
3. click "Cancel" on progress dialog

OBSERVED RESULT
progress dialog disappears, but kio_file process still working

EXPECTED RESULT
progress dialog disappears, and  kio_file process should be also stopped, because sending has been interrupted, so stopped


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: YES
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2 with kde patch collection

ADDITIONAL INFORMATION
system on my phone: Android 7
kdeconnect on Android: 1.17  (debug version, because in this version works SMS sending)
Comment 1 Piotr Mierzwinski 2021-09-08 20:19:22 UTC
After all processes (daamon, tags, and kio_file)  have been killed by signal 9, socket file isn't removed
/run/user/1000/kdeconnect.daemonWKCwsb.2.slave-socket

After I remove this file and run again daemon then I can send files otherwise I can see only bouncing process and on my phone message that sending failed.
BTW. I'm able to send (from phone to PC ) only couple filesfrom all I try to send, because after 2 or 3 sending stops, hung. I mean progress shows for example 2 of 10 and on Android I can see "sent 10 files". In "Download" there is only 2. Nothing happens with sending, because stuck. I will report another bug for this issue.

on my phone I have Android 8.0, sorry for mistake.