Bug 112877

Summary: Poor KDE Performance: deleting many (thousands of) files slows down kde
Product: [Unmaintained] kdelibs Reporter: Mohd Asif Ali Rizwaan <maarizwan>
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mohd Asif Ali Rizwaan 2005-09-19 10:25:44 UTC
Version:           unknown (using KDE 3.4.1, compiled sources)
Compiler:          gcc version 3.3.5
OS:                Linux (i686) release 2.6.11.7

How to reproduce:
-----------------

1. Right-Click on a folder with thousands of file say "kdesvn" (downloaded using kdesvn-build inlcuding extragear playground kdereview, etc.)

2. Press Shift and click "Move to Trash" (to delete the thousands of files)

3. Now, wait for ages to only see the list of file being loaded for deletion... causing frustration.


Expected Behavior:
------------------

1. the files should get deleted instantly instead of loading (searching for which files has to be deleted) or instead of making "a list of files" to be deleted, KDE should delete the files.

I assume that KDE behaves like this:

1. ls -lR kdesvn > files_to_be_deleted.txt
2. rm -rvf `cat files_to_be_deleted.txt`

Whereas a user would expect this:

1. rm -rvf kdesvn

KDE is unnecessarily making a list of files to be deleted, which it can show by "-v" option of rm i.e., rm -rvf <folder>.

thanks.
Comment 1 Mohd Asif Ali Rizwaan 2005-09-19 10:26:32 UTC
I've also test this behavior (slow deletion of many-many files) with KDE 3.5 beta (svn)
Comment 2 Thiago Macieira 2005-09-19 12:34:18 UTC

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