[dolphin] [Bug 158090] show the size of the folder in the "size" column
https://bugs.kde.org/show_bug.cgi?id=158090 Gregor Mi changed: What|Removed |Added CC||codestr...@posteo.org -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 158090] show the size of the folder in the "size" column
https://bugs.kde.org/show_bug.cgi?id=158090 Huon changed: What|Removed |Added CC||h...@plonq.org --- Comment #20 from Huon --- For comparison Directory Opus does it like this: 1. Calculation on hovering, cancelled when mouse leaves. 2. Toolbar button calculates size of all selected folders (in foreground, progress bar shown if taking a while). 3. Config option to enable automatic calculation. I think 2 & 3 together is a good solution. This means that it doesn't slow things down by default, but users with fast storage can turn the option on. I don't think there's a need for caching. Leaving it on manual mode, users wouldn't expect it to re-calculate automatically (the wording of the action should portray it so). And if on automatic mode, users could press F5 to re-calculate (I think F5=Refresh is something we can assume users know). -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 158090] show the size of the folder in the "size" column
https://bugs.kde.org/show_bug.cgi?id=158090 Bill Werrel changed: What|Removed |Added CC||werr...@mail.com -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 158090] show the size of the folder in the "size" column
https://bugs.kde.org/show_bug.cgi?id=158090 Dr. Chapatin changed: What|Removed |Added CC||bugsefor...@gmx.com -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 158090] show the size of the folder in the "size" column
https://bugs.kde.org/show_bug.cgi?id=158090 --- Comment #19 from Nate Graham --- Created attachment 108378 --> https://bugs.kde.org/attachment.cgi?id=108378&action=edit Crude baloo-widgets patch to be able to calculate directory sizes -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 158090] show the size of the folder in the "size" column
https://bugs.kde.org/show_bug.cgi?id=158090 --- Comment #18 from Nate Graham --- Created attachment 108377 --> https://bugs.kde.org/attachment.cgi?id=108377&action=edit Dolphin patch to add the setting I've tried to patch this in, and it's not hard; mostly a matter of having KFileItems representing folders calculate sizes uwing KIO::DirectorySizeJob. On a modern SSD, it's even fast enough to only be slightly annoying when doing it on the same thread. The following issues/challenges arise: - Need to do it on a background thread to avoid blocking the main UI - With the information panel open, moving the mouse spawns zillions of jobs since it updates according to cursor hover position, not selection - Should probably cache results, but how without keeping around old results that *should* be recalculated? - Need to figure out a way to make this optional without violating boundaries (e.g. should baloo depend on being able to parse a setting from Dolphin?) I'm attaching the rough patches in case someone with much more skill here wants to run with them and refine the feature to actually be usable. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 158090] show the size of the folder in the "size" column
https://bugs.kde.org/show_bug.cgi?id=158090 Christoph Feck changed: What|Removed |Added CC||j...@forestfield.org --- Comment #17 from Christoph Feck --- *** Bug 381508 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 158090] show the size of the folder in the "size" column
https://bugs.kde.org/show_bug.cgi?id=158090 --- Comment #16 from Nate Graham --- Right, I understand the trade-offs involved. Personally I'm willing to accept those trade-offs, but obviously not everyone would. In the macOS Finder, turning on this feature is optional, probably for the same reasons. It could be similarly optional here, too. Turn it on if you like it, don't if you don't. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 158090] show the size of the folder in the "size" column
https://bugs.kde.org/show_bug.cgi?id=158090 --- Comment #15 from Christoph Feck --- > calculating folder size is instantaneous ... but pollutes kernel caches with data that you may not need. > simple cache this information Cache where? How to decide if the information in the cache is still valid? If it was simple, the Linux kernel would provide this information. -- You are receiving this mail because: You are watching all bug changes.
[dolphin] [Bug 158090] show the size of the folder in the "size" column
https://bugs.kde.org/show_bug.cgi?id=158090 Nate Graham changed: What|Removed |Added CC||pointedst...@zoho.com --- Comment #14 from Nate Graham --- it's now 2017. I have a machine with an NVMe SSD, and calculating folder size is instantaneous enough that when the properties window has on-disk size available instantly. It doesn't seem like it would be any great burden to simple cache this information and make it available to Dolphin. -- You are receiving this mail because: You are watching all bug changes.