[Xfce-bugs] [Bug 14203] New: File / Folder size text in statusbar sometimes is ambiguous

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Feb 6 14:28:12 CET 2018


https://bugzilla.xfce.org/show_bug.cgi?id=14203

            Bug ID: 14203
           Summary: File / Folder size text in statusbar sometimes is
                    ambiguous
    Classification: Xfce Core
           Product: Thunar
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: Core
          Assignee: xfce-bugs at xfce.org
          Reporter: acs82 at gmx.de
                CC: benny at xfce.org, hjudt at xfce.org
  Target Milestone: 1.8.0

When entering(double-click) a directory "A" with files and folders inside, the
statusbar shows e.g:
> 11 items (242.0 kB), Free space: 200.8 GB

.. actually the 242.0 kB only refer to the size of the files directly inside
the directory "A".
It is not a recursive file-size ... folders are not taken into account !


Actually it would be much better to use the same string than for multi-file
selection.
If I select all files and folders inside the directory, I get:
> 5 folders selected, 6 other items selected (242.0 kB)

That would be less ambiguous.

The related code is here:
thunar/thunar-list-model.c:2316
and here:
thunar/thunar-list-model.c:2439

Maybe it makes sense to move the code for string creation into a separate
method so it can be reused.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list