I have an occasional bug whereby the following happens: A file (foo.pdf, say) in directory A is moved to directory B using Dolphin. This move succeeds but an unrelated file (stuff.txt, say) in directory A then takes on the name "foo.pdf". This happens occasionally and I haven't been able to reproduce this reliably. It's extremely annoying though. Is there a way to switch on some kind of "action trace" of Dolphin?
Special configuration of my mouse: Activating windows Policy = "Focus Follows Mouse"
It happened again. I am using Dolphin in "split window" mode when moving files from one directory to the other (from right to left, say) I have the feeling that it has something to do with a file having the "renaming action" active on the right side. You then move that file to the left side, which works but the renaming action on the right side is "sticky" and gloms onto the file that was displayed underneath the one just moved, giving it the name of the file just moved. Something like that.
Better reproducible: 1) Have a directory of many files. 2) Create a target directory that is linked to via the Dolphin "left pane" (the left pane where you find like the Wastebasket, Search For, Devices etc). 3) The Mouse Click behaviour is set to "Double click to open files and folders" (Sysetm Settings > Input Devices > Mouse) (because I still haven't found out how one can actually DO anything at all if a file opens on first click) 4) Do this: Click on a file in the Dolphin main pane, release Mouse. The file is selected. Move the file into the target directory in the "left pane" With high probability (1/5?), a file or even a directory in the "from" directory takes on the filename of the file just moved. Moving this to "major" as this will result in file loss.
Even more precise: The problem comes from the fact that somehow renaming is triggered on the file. Suppose the file in details view mode is unmarked (it may be semi-marked, there is a thin blue line underneath, not 100% sure what this is about, my reflexes don't tell me). Click on it, it acquires a blue background. Release mouse, move off the file. Now: a) Move mouse back to file, click and don't release button, hold it. b) The file will go into "rename mode" after 500ms or so, after which it cannot be moved. However in some cases: a) Move mouse back to file, click and don't release button, move it to the left-side "Places bar" for example. b) Sometimes the file while go into "rename mode" while you move it. If you now drop it into a "place", the file underneath the just moved file in the "details view" will be given the name of the file just moved. I don't know what exactly triggers the quantum state of "being moved" + "being renamed" at the same time, but the state machine seems to have a bug in any case.
You are using double-click to open files, right? If this issue happens to you regularily, I suggest to disable inline renaming in Dolphin.
This has been fixed in Dolphin 18.04. *** This bug has been marked as a duplicate of bug 378786 ***