[dolphin] [Bug 477187] Option to disable calculating the size and number of items in child directories

Méven Car bugzilla_noreply at kde.org
Thu Mar 7 15:19:40 GMT 2024


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

Méven Car <meven.car at kdemail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/815bb8d
                   |                            |514d70d79ef5f3fd7fffa95850f
                   |                            |761d55
             Status|ASSIGNED                    |RESOLVED

--- Comment #9 from Méven Car <meven.car at kdemail.net> ---
Git commit 815bb8d514d70d79ef5f3fd7fffa95850f761d55 by Méven Car, on behalf of
Nico Kreipke.
Committed on 07/03/2024 at 15:11.
Pushed by meven into branch 'master'.

Add option to completely disable directory size counting

Dolphin shows the size of directories by listing their contents, which
for some users might cause unwanted load on the file system.
Depending on the size of the subdirectories in question and how the
storage is accessed, this might cause noticeable delays and even
freezing.

This commit adds a new option under "View -> Content Display" that
enables users to set "Folder size:" to "No size", completely disabling
directory size counting. Directory size counting is still enabled by
default.

As a third option for "Folder size" is added, the DirectorySizeCount
boolean setting is replaced with a DirectorySizeMode enum setting. The
old setting is migrated using a kconf_update script.
GUI:

M  +4    -1    doc/index.docbook
M  +2    -0    src/CMakeLists.txt
M  +2    -1    src/kitemviews/kfileitemlistwidget.cpp
M  +4    -3    src/kitemviews/kfileitemmodel.cpp
M  +2    -2    src/kitemviews/kfileitemmodelrolesupdater.cpp
M  +14   -3    src/settings/dolphin_contentdisplaysettings.kcfg
A  +10   -0    src/settings/dolphin_directorysizemode.py
A  +9    -0    src/settings/dolphin_directorysizemode.upd
M  +19   -11   src/settings/viewmodes/contentdisplaytab.cpp
M  +1    -0    src/settings/viewmodes/contentdisplaytab.h

https://invent.kde.org/system/dolphin/-/commit/815bb8d514d70d79ef5f3fd7fffa95850f761d55

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


More information about the kfm-devel mailing list