You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2018/02/16 00:53:00 UTC

[jira] [Commented] (PIVOT-1030) Small file sizes in FileBrowser should display the actual byte count instead of fractional KB

    [ https://issues.apache.org/jira/browse/PIVOT-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16366479#comment-16366479 ] 

Roger Whitcomb commented on PIVOT-1030:
---------------------------------------

Note: neither the current implementation, nor the one proposed by the ticket exactly match what Windows 7 (for instance) shows for file sizes in an Explorer window.  In addition, OS X ("El Capitan" at least) shows directory sizes as "--" instead of blank, and small file sizes as "542 bytes" instead of "542 B".  Also on OS X I couldn't find any examples of file sizes that were like "1,009 KB" as the current method (and the new method) would show.  The largest number I could find was "990 KB", and then "1 MB" after that.

> Small file sizes in FileBrowser should display the actual byte count instead of fractional KB
> ---------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-1030
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1030
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>
> File sizes for small files show as "0.3 KB" when they could more meaningfully be shown as "374 B" (for instance).
> Related issue is that directory sizes shouldn't display at all in the file browsers (this is how the VFSFileBrowser works – directory sizes are blank).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)