[dolphin] [Bug 190580] Would like ability to display sizes in terms of files and folders, not just "items" could display files and folders count

2020-05-03 Thread Méven Car
https://bugs.kde.org/show_bug.cgi?id=190580

Méven Car  changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/dol
   ||phin/e6ea3ab4c41dcc115143a2
   ||37aafd3a1152849433
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
   Version Fixed In||20.08

--- Comment #9 from Méven Car  ---
Git commit e6ea3ab4c41dcc115143a237aafd3a1152849433 by Méven Car.
Committed on 04/05/2020 at 05:26.
Pushed by meven into branch 'master'.

[Details mode] Allow to fill the column size of directories with actual size

Summary:
Allow to compute the recursive size of directories to fill the details view
size column.
A setting allow to set a limit to the recursive level, allowing the user to
have some power over the setting.

When sorting by size and the feature is on, we get progressive ordering as the
directory size are gathered.

KDirectoryContentsCounter uses a cache internally to keep results so that it
can display directory size faster, but counts the dir size of directories each
time it is asked to count the size a directory nevertheless and when the size
has changed, it is updated.
KDirectoryContentsCounter uses one worker per instance only, meaning one
process per view makes the disk spin.

FIXED-IN: 20.08
Related: bug 158090

Test Plan:
With some recursion allowed:
{F8267580}

Without any recursion allowed (default):
{F8267581}

Reviewers: elvisangelaccio, ngraham, #dolphin

Reviewed By: elvisangelaccio, ngraham, #dolphin

Subscribers: feverfew, anthonyfieroni, iasensio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D25335

M  +8-0src/dolphinviewcontainer.cpp
M  +16   -4src/kitemviews/kfileitemlistwidget.cpp
M  +15   -3src/kitemviews/kfileitemmodel.cpp
M  +9-11   src/kitemviews/kfileitemmodelrolesupdater.cpp
M  +1-1src/kitemviews/kfileitemmodelrolesupdater.h
M  +39   -32   src/kitemviews/private/kdirectorycontentscounter.cpp
M  +8-13   src/kitemviews/private/kdirectorycontentscounter.h
M  +68   -30   src/kitemviews/private/kdirectorycontentscounterworker.cpp
M  +11   -3src/kitemviews/private/kdirectorycontentscounterworker.h
M  +8-0src/settings/dolphin_detailsmodesettings.kcfg
M  +45   -5src/settings/viewmodes/viewsettingstab.cpp
M  +5-0src/settings/viewmodes/viewsettingstab.h

https://commits.kde.org/dolphin/e6ea3ab4c41dcc115143a237aafd3a1152849433

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 190580] Would like ability to display sizes in terms of files and folders, not just "items" could display files and folders count

2019-11-17 Thread Postix
https://bugs.kde.org/show_bug.cgi?id=190580

Postix  changed:

   What|Removed |Added

 CC||pos...@posteo.eu

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 190580] Would like ability to display sizes in terms of files and folders, not just "items" could display files and folders count

2017-09-06 Thread Dr . Chapatin
https://bugs.kde.org/show_bug.cgi?id=190580

Dr. Chapatin  changed:

   What|Removed |Added

 CC||yy...@gmx.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 190580] Would like ability to display sizes in terms of files and folders, not just "items" could display files and folders count

2017-09-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=190580

Nate Graham  changed:

   What|Removed |Added

Summary|Detail view: size colum |Would like ability to
   |could display files and |display sizes in terms of
   |folders count   |files and folders, not just
   ||"items" could display files
   ||and folders count
  Component|view-engine: details mode   |general

--- Comment #8 from Nate Graham  ---
This makes sense to do Dolphin-wide, not just in Details mode columns. For
example, the Information panel also displays Size information in terms of "n
items".

-- 
You are receiving this mail because:
You are watching all bug changes.