Bug 450393

Summary: Deleting around 4000 files from a folder takes forever
Product: [Applications] dolphin Reporter: Barade <barade.barade>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Barade 2022-02-16 15:58:34 UTC
If I select and delet around 4000 files from a single folder I have to wait several minutes until all files are deleted.
For every file the counter of deleted files is increased by one. Maybe delete multiple files and then update the counter of the counter slows it down. Using a command like "rm *" is executed immediately. Maybe it is moving them to the trash which slows it down. Anyway, it needs to be MUCH faster.


STEPS TO REPRODUCE
1. Create a folder with around 4000 files (I had small JSON files)
2. Select them all and press delete.
3. Wait several minutes until all files are in the trash.

OBSERVED RESULT
It takes several minutes.

EXPECTED RESULT
It should take only a few seconds.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: KDE Frameworks 5.68.0
Qt Version: Qt 5.12.8 (built against 5.12.8)

ADDITIONAL INFORMATION