https://bugs.kde.org/show_bug.cgi?id=162211

Me <linuxguy...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |linuxguy...@gmail.com

--- Comment #91 from Me <linuxguy...@gmail.com> ---
I just lost a bunch of precious pictures due to a bug in Dolphin.

I was doing maintenance on my photo collection. I had previously downloaded
some jpg and raw files directly from the camera onto USB drive "A". I keep my
photos organized on USB drive "B". I thus attempted to move the photos from USB
drive A to USB drive B with Dolphin. Both USB A and USB B are multi GB SATA
3.5" hard drives with USB 3.0 interfaces. They are formatted EXT4.

As near as I can remember, here is what happened:

1) I opened Dolphin. I split the screen. I selected USB drive A on the left
panel. I selected USB drive B on the right panel.

2) I did a bit of browsing on USB A to ascertain which folders I wanted to
move. I created a new folder on USB drive B.

3) I selected about 10 folders containing several hundred images from drive A.
I dragged them over to the drive B panel in Dolphin and dropped them on the
folder I created. I selected Move from the pop up menu. Not copy.

4) The process started. I opened the KDE plasma notification window and
expanded the info to watch the files being copied. The process took about 10
minutes. The CPU load was very high, like 100%, on the plasma shell process.

5) At the conclusion of the process I just happened to open up a jpg to have a
look at it. I started scrolling through the files only to find that several sub
folders had images with file sizes of 0B. They could not be opened. The file
content was lost even if the handle was there.

6) When I went back to the source folders on drive A, the images are, of
course, gone.

The hard drives have both been fine. I ran fsck on them and both came up clean.

At no point in this process were the drives unmounted or disconnected.  I got
called away from my desk and rechecked the files again later.   The file sizes
were still zero.

I've seen files lost like this using Dolphin before. I suspect there is a bug
in the kio process when transferring large blocks of files to an external USB
drive. 

What is interesting is that if you use mv or cp on the command line, the CPU
load is way, way lower than if the files are moved from Dolphin. Like 5% versus
100% and the command line operations are quite a bit faster.

$ uname -a
Linux localhost.localdomain 4.7.9-200.fc24.x86_64 #1 SMP Thu Oct 20 14:26:16
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

kf version 5.26.0.1.fc24

Been using Linux exclusively on my workstation since Redhat 8.  I highly doubt
this is user error.

Let me know if you need more information.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to