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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  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.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to