Bug 497286

Summary: File transfer box fails to recognize transfer completion. It gets stuck at 99% with no transfer speed when moving massive files into an Android phone
Product: [Applications] dolphin Reporter: Fernando M. Muniz <fernandommuniz>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdedev, kfm-devel
Priority: NOR Keywords: usability
Version: 24.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: It fails to recognize that the transfer is completed.
It seems that the "Response Phase" isn't being checked properly.

Description Fernando M. Muniz 2024-12-10 17:42:15 UTC
File transfer box is stuck at 99% with no transfer speed when moving massive files to an Android phone.

This must be a bug on Dolphin's end because I always manage to fully extract the supposedly 1% unfinished .tar.gz file after I copy the same file from the phone back into my notebook. Curiously enough, the file transfer always concludes when transferring back.

Which means that Dolphin doesn't recognize the fact that the transferring stopped, even though its transfer speed has stopped and disappeared from the box.
Comment 1 Fernando M. Muniz 2024-12-10 19:32:05 UTC
Created attachment 176498 [details]
It fails to recognize that the transfer is completed.
Comment 2 Fernando M. Muniz 2024-12-11 16:52:43 UTC
Created attachment 176526 [details]
It seems that the "Response Phase" isn't being checked properly.

I'm using Media Transfer Protocol.
Comment 3 Fernando M. Muniz 2024-12-11 17:18:13 UTC
Even if it can't be solved properly on Dolphin's end, it could simply say "File transfering has reached 100% and all bits were transfered but couldn't be automatically verified. Please manually verify the integrity of the transfered file(s)."
Comment 4 TraceyC 2024-12-17 21:38:47 UTC
Details from the attached video:
- The file being transferred is 6.1GB
- File name SSD.tar.gz
- Transferred from local disk to phone over mtp as noted
- The transfer dialog shows 60.1G of 60.1G transferred, transfer speed drops and then disappears when the transfer finishes
- The progress bar still shows 99%

This may be related to bug 281270 which has a related merge request
" When copying files to a removable disk, speed and progress reflect copying to the local cache not to the disk itself"

I tested on git-master with a 3.2GB file (it just has to be large enough to take more than a few moments to copy)
It also used mtp
I wasn't able to replicate. I saw the copy finish notification when the copy finished
This could be a difference in the way the two different phones handle things? I'll leave this open in case someone else can replicate.
Comment 5 Fernando M. Muniz 2024-12-19 10:06:12 UTC
Is it possible that the system is verifying the transferred file's integrity without informing the user?