[dolphin] [Bug 461847] dolphin slow to move files to trash - delay of a few seconds before file is moved, regardless of file size

Méven Car bugzilla_noreply at kde.org
Thu Sep 14 16:21:51 BST 2023


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

--- Comment #5 from Méven Car <meven.car at kdemail.net> ---
Git commit b6a809b2cf6511ff850bfed453f75d3c5fd5d297 by Méven Car, on behalf of
Méven Car.
Committed on 14/09/2023 at 17:21.
Pushed by meven into branch 'kf5'.

trashimpl: optimize TrashSizeCache::calculateSize

Make TrashSizeCache::calculateSize not check modification dates.

This divides by two the number of stats run for each file already in the trash
each time a file is moved into the trash.
(cherry picked from commit 0ab81b6bac953b12b454bef4874946bb7fc8db85)

M  +25   -15   src/ioslaves/trash/trashsizecache.cpp
M  +3    -1    src/ioslaves/trash/trashsizecache.h

https://invent.kde.org/frameworks/kio/-/commit/b6a809b2cf6511ff850bfed453f75d3c5fd5d297

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


More information about the kfm-devel mailing list