Summary: | Would like ability to display sizes in terms of files and folders, not just "items" could display files and folders count | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Shaun Reich <sreich> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | bugseforuns, elvis.angelaccio, finex, moraru69, nate, postix |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/dolphin/e6ea3ab4c41dcc115143a237aafd3a1152849433 | Version Fixed In: | 20.08 |
Attachments: | dolphin file and directories count |
Description
Shaun Reich
2009-04-25 02:33:26 UTC
I'm not sure to have understood what you mean... Do you suggest to display the count of ALL files/dirs recursively contained on the current directory ? Example: Parent folder |-Sub-folder A | |-sub-sub-folder B | | |- 1...n files | | | |- sub-sub-folder C | |- 1...m files | |- 1...k files When dolphin is on "Parent folder", on the status bar you'd like to read n+m+k+3 ? (3 = { sub folder A, sub-sub-folder B, sub-sub-folder C} ) Well, that is *also* something that I would like... it would add to the "greatness", but isn't required. It being recursive is another issue really(which it isn't recursive currently afik). The real problem is, that it applies the generic term "items" to explain what is in a folder, whether it be files or folders. So you could have 250 files, it would say "250 items". In another directory, you could have 250 folders and it would also say, "250 items". So it's very ambiguous, and obviously... files and folders are completely different objects. Created attachment 33093 [details]
dolphin file and directories count
On current trunk, dolphin displays the string "files" and/or "folders" correctly. It uses the pluralization too.
Isn't it what you want?
No.. well, yeah, it has the information of what I want, if you notice, I already pointed out the status bar showing that information (I think I did). Anyways, here is a screenie, this should clear up any confusion, and it's much easier to explain it this way :) . http://picasaweb.google.com/predator106/KDE4Screenshots#5328652494764255346 Ok, now I've understand :-) You mean the size coulmn on the "details view". Thanks for the patience :-) It will take more space on smaller screens. I find it pleasing as it is now. Resetting assignee to default as per bug #305719 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". 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 -0 src/dolphinviewcontainer.cpp M +16 -4 src/kitemviews/kfileitemlistwidget.cpp M +15 -3 src/kitemviews/kfileitemmodel.cpp M +9 -11 src/kitemviews/kfileitemmodelrolesupdater.cpp M +1 -1 src/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 -3 src/kitemviews/private/kdirectorycontentscounterworker.h M +8 -0 src/settings/dolphin_detailsmodesettings.kcfg M +45 -5 src/settings/viewmodes/viewsettingstab.cpp M +5 -0 src/settings/viewmodes/viewsettingstab.h https://commits.kde.org/dolphin/e6ea3ab4c41dcc115143a237aafd3a1152849433 |