Bug 352761 - Dolphin randomly skips files on large transfers by copy or move
Summary: Dolphin randomly skips files on large transfers by copy or move
Status: RESOLVED DUPLICATE of bug 162211
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR critical
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-15 17:32 UTC by Cacciatore
Modified: 2018-12-04 23:38 UTC (History)
4 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 Cacciatore 2015-09-15 17:32:30 UTC
When i try to copy a large amount of files/folders from a hdd to another, dolphin randomly skips to copy an amount of files without returning an error.
Some folders are empty when copied while the original folders have plenty of files in them. 

This happens all the time when you try to copy from a ntfs hdd (doesn't matter if its external or internal disk) 
From an ext4 hdd to ext4 happes often but not all the time. 

Files that are skipped are random. Eg i tried several times to move the same folder (lets say it contains 100 folders and every folder has plenty of files) from a backup to my internal hdd. Every time it skips to copy / transfer random files and not the same. Some folders are transfered as empty despite they contain a great deal of files. 
Still no erros from dolphin. 

From my little research in google we can track this bug dated before 2008!
This is serious. We are talking about data loss. 
What are we supposed to do when we are going to copy a large amount of files and being anxious about our data integrity.


Reproducible: Sometimes

Steps to Reproduce:
1.copy a folder which contains a large amount of files folders eg a backup. 
2.wait for dolphin to complete the operation
3.check manually every folder to see if all files are copied

Actual Results:  
Random files are being skipped without being notified. This happens occasionaly and most often to ntfs hdd's. 

Expected Results:  
All files and folders being copied without missing a bit. Thats what was supposed to heppen in evey copy paste command.
Comment 1 Frank Reininghaus 2015-09-15 20:28:44 UTC
Thanks for the bug report. This might be an issue with the KIO framework, which handles file transfers for Dolphin and other KDE applications. What are your Dolphin and kdelibs or KDE Frameworks versions?
Comment 2 Cacciatore 2015-09-16 11:53:37 UTC
Hello Frank, 
Here is some additional info regarding your request
kdelibs version is 4.14.11-1
dolphin 15.0.8.0-2
plasma-framework 5.13.0-1
Comment 3 Frank Reininghaus 2015-09-16 20:29:13 UTC
Thanks for the quick reply. Reassigning to frameworks-kio (which is used by Dolphin 15.08).
Comment 4 Christoph Feck 2015-09-26 15:23:02 UTC
This is bug 162211 / bug 333436, which unfortunately no developer was able to reproduce.
Comment 5 Cacciatore 2015-09-27 07:57:03 UTC
Hello Christoph
I'm really sorry to hear that. 
Have you tried with real files e.g. a 100gb folder filled with photos with multiple subfolders etc? 20gb with documents of various types? 
I think I had read on a forum that when someone tries to reproduce this but with zero filled files, this bug does not activate.
Comment 6 David Edmundson 2018-11-26 13:56:21 UTC
Git commit 2beb1a0ad23177f7dc2e5ee622bed3a70f671278 by David Edmundson.
Committed on 26/11/2018 at 13:17.
Pushed by davidedmundson into branch 'Plasma/5.12'.

Set error if a kjob host disappears from kuiserver with active jobs

Summary:
If the host of a kjob crashes or is killed kuiserver currently reports
that the job has been completed successfully. This is seriously wrong as
it could lead a user to perform a potentially destructive operation.

Setting any error (that's not 0 or 1) will cause plasmashell, the main
kuiserver view, to show a persistent notification that a job has failed.

For master I will use a more correct new enum, new error text, and a way
to tell for KIO operations to report to the uiserver if the host
crashing is important or not.

Test Plan:
Whilst copying a million files killed dolphin
Got a persistent error instead of a success message on the last file it was on

Moving files successfully then killing the app remained fine

Reviewers: #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17171

M  +1    -0    kuiserver/progresslistmodel.cpp

https://commits.kde.org/plasma-workspace/2beb1a0ad23177f7dc2e5ee622bed3a70f671278
Comment 7 David Edmundson 2018-12-04 23:38:20 UTC

*** This bug has been marked as a duplicate of bug 162211 ***