Bug 479367

Summary: Cancelling move operation for kio-mtp results in data loss
Product: [Frameworks and Libraries] kio-extras Reporter: András Manţia <amantia>
Component: MTPAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: grave CC: elvis.angelaccio, sitter
Priority: NOR    
Version: 23.08.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description András Manţia 2024-01-03 19:07:33 UTC
I d&d some files in Dolphin from the android phone (via MTP) and by mistake selected Move operation instead of copy, so I stopped the operation in the progress notification popup. This resulted in 0 byte files on the PC while the files from the phone were deleted with no (easy or at all) way to recover them.
Comment 1 Harald Sitter 2024-02-19 00:16:53 UTC
Cannot reproduce. What distribution are you on? How did you obtain dolphin? Please also fill in the following template

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


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

ADDITIONAL INFORMATION
Comment 2 András Manţia 2024-03-01 08:10:27 UTC
OpenSuse Leap 15.5, the "official" KDE repositories , 23.08. 
Reproducing was as I wrote: plug the phone, move the files, cancel the operation.
Comment 3 András Manţia 2024-03-01 08:20:49 UTC
With 24.0.2 I cannot reproduce, but that has other issues, like move cannot be cancelled at all. Using Cancel keeps copying the file until the end, but it will at least not delete the original.
Comment 4 Harald Sitter 2024-03-01 18:25:53 UTC
Thanks for the update. The not cancelling is a separate problem, please file a separate bug for it.