Bug 479367 - Cancelling move operation for kio-mtp results in data loss
Summary: Cancelling move operation for kio-mtp results in data loss
Status: RESOLVED FIXED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: MTP (show other bugs)
Version: 23.08.4
Platform: openSUSE Linux
: NOR grave
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-03 19:07 UTC by András Manţia
Modified: 2024-03-01 18:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.