Bug 444255 - deleting a file the whole folder got deleted (and no way to restore)
Summary: deleting a file the whole folder got deleted (and no way to restore)
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.08.2
Platform: Neon Linux
: NOR critical
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-23 07:13 UTC by Duns
Modified: 2023-05-20 10:37 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 Duns 2021-10-23 07:13:44 UTC
SUMMARY


STEPS TO REPRODUCE
1. I deleted in Dolphin a file in a folder (where there were many other files)
2. No question, no confirmation request
3. The whole root folder got deleted

OBSERVED RESULT
The whole root folder was deleted: deleting a file in /mnt/A/B was deleted not only that file but the whole B folder and the whole A folder as well: incredible. And no confirmation question. And nothing in the trash.
Maybe this bug is related with a similar, opposite, bug: in Desktop folder is impossibile delete anything (from the Desktop, I mean, but it remain possible with file manager).

EXPECTED RESULT
If I delete a file I should be asked for confirm, and only that file should be deleted.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.1
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-38-generic (64-bit)
Graphics Platform: X11
Processors: 2 × Intel® Core™ i3-7100 CPU @ 3.90GHz
Memory: 7,7 GiB of RAM
Graphics Processor: GeForce GT 710/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Duns 2021-10-23 07:28:17 UTC
It happened one time, so far. Other attempts show a normal behavior of Dolphin.

However a deleting misbehavior happen always on the Desktop, as I said: impossible delete anything.

So I guess that there is something wrong in KDE delete graphical command.
Comment 2 Duns 2021-10-23 07:48:58 UTC
Maybe it could be relevant say that that folder was an amule one: deleting a file in Incoming subfolder, the whole root folder (Amule) was deleted.
Comment 3 Duns 2021-10-27 16:31:11 UTC
Today I deleted a file from Amule/Incoming folder and nothing wrong happened.
Comment 4 Duns 2021-11-05 17:50:56 UTC
So far I didn't any other cases of this bug.
Comment 5 Steve Soule 2022-01-29 22:38:47 UTC
I had this happen to me today too, with Dolphin 20.04.2, opensuse 15.2.  Here's what happened:

1.  I decided I needed to free up some disk space, as I only had about 12 GB free on my home partition.  I decided to delete old mod files from the directory ~/download/games/skyrim, which is where I download mods for skyrim.  The directory had about 200 files in it, some of them over 1 GB in size.
2.  I opened Dolphin and navigated to ~/download/games/skyrim.
3.  I went through the directory contents, selecting old mod files that I wanted to delete by clicking on the "+" symbol in the upper-left corner of each file icon.
4.  I clicked on the "File" menu and then the "Delete" menu item.
5.  A window appeared asking if I was sure I wanted to delete 73 files.  I confirmed.
6.  I closed Dolphin.
7.  A few hours later, I discovered that the directory ~/download/games/skyrim no longer exists.  All the files are gone.  All subdirectories are gone.