[dolphin] [Bug 434125] High CPU usage with "size of contents" option when trying to analyze "/proc" folder

Fabian Vogt bugzilla_noreply at kde.org
Mon Jan 9 15:22:03 GMT 2023


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

Fabian Vogt <fabian at ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/syst |https://invent.kde.org/syst
                   |em/dolphin/commit/491068a44 |em/dolphin/commit/a81b287e7
                   |05f93ce66d4f49fa5ba5dee29e9 |af7db24ff26a659fe599e5a8b29
                   |546b                        |0bd1

--- Comment #6 from Fabian Vogt <fabian at ritter-vogt.de> ---
Git commit a81b287e7af7db24ff26a659fe599e5a8b290bd1 by Fabian Vogt.
Committed on 09/01/2023 at 15:21.
Pushed by fvogt into branch 'master'.

Don't recurse into symlinks when counting directory contents

Symlink contents should not be visited for the purpose of displaying sizes.
Not only is potentially misleading because the storage is actually used
elsewhere (the target location), it can be completely wrong as contents can
be visited multiple times, even recursively.
(cherry picked from commit 491068a4405f93ce66d4f49fa5ba5dee29e9546b)

M  +3    -9    src/kitemviews/private/kdirectorycontentscounterworker.cpp

https://invent.kde.org/system/dolphin/commit/a81b287e7af7db24ff26a659fe599e5a8b290bd1

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


More information about the kfm-devel mailing list