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

--- Comment #18 from Nate Graham <pointedst...@zoho.com> ---
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.

Reply via email to