[dolphin] [Bug 504707] New: Moving files to trash becomes slower as contents of trash grow

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri May 23 18:34:56 BST 2025


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

            Bug ID: 504707
           Summary: Moving files to trash becomes slower as contents of
                    trash grow
    Classification: Applications
           Product: dolphin
      Version First 25.04.1
       Reported In:
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: php4fan at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY

I have had this issue forever with KDE on all KDE installations, first on
OpenSUSE and  then on Manjaro: that moving files to Trash becomes slower and
slower over time to the point that it becomes ridiculous.

I've finally found out that the reason is that (1) the setting for deleting
files older than N days from the trash is not enabled by default (I think a
reasonable default would be 30 days and enabled), and crucially (2) that the
time it takes to move a file to trash grows as the amount of files in the trash
grows. That is not acceptable, especially as the trash grows indefinitely by
default.

When I found out that stuff didn't get deleted automatically from the Trash, I
had several GB of data in it (although I suspect the relevant thing is the
number of items, not the total size), and moving a single file to trash from
the desktop would take almost a minute.



STEPS TO REPRODUCE
1. move files to the trash daily

OBSERVED RESULT
moving few (or even one) files to the trash becomes slower and slower every
day, as the trash grows

EXPECTED RESULT
The time it takes to move a file to trash shouldn't significantly grow with the
size of the trash.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.6.90-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i7-1255U
Memory: 15.3 GiB of RAM
Graphics Processor: Intel® Iris® Xe Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Vivobook_ASUSLaptop X1502ZA_F1502ZA
System Version: 1.0

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list