File size display

25 views
Skip to first unread message

Alex S. Garcia

unread,
May 15, 2017, 6:27:29 PM5/15/17
to krusade...@googlegroups.com

Hi guys,

 

I was wondering if there is a way to change the decimal value displayed in the size column?

 

For instance, have it show 30,19 MB rather than 30,2 MB?

 

I've looked through settings and couldn't find anything, but maybe I missed it...?

 

 

 

Alex.

--

-------------------------------------------------------------------------

http://www.alexsgarcia.com/

https://soundcloud.com/asglyrics

Music Videos : http://mvdbase.com [database]

http://www.freelists.org/list/mv [mailing-list]

-------------------------------------------------------------------------

 

SanskritFritz

unread,
May 16, 2017, 1:12:53 AM5/16/17
to krusade...@googlegroups.com
Settings / Panel / View / Use human readable file size


--
You received this message because you are subscribed to the Google Groups "krusader-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to krusader-users+unsubscribe@googlegroups.com.
To post to this group, send email to krusader-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/krusader-users/11963524.XNG5MTUeYz%40unicorn.zapto.org.
For more options, visit https://groups.google.com/d/optout.

Davide Gianforte

unread,
May 16, 2017, 1:41:59 AM5/16/17
to krusade...@googlegroups.com
In data martedì 16 maggio 2017 00:27:27 CEST, Alex S. Garcia ha scritto:
> Hi guys,
>
> I was wondering if there is a way to change the decimal value displayed in the size
> column?
>
> For instance, have it show 30,19 MB rather than 30,2 MB?
>
> I've looked through settings and couldn't find anything, but maybe I missed it...?
>
>
>
> Alex.

There are two display mode for the file size:

- one is the byte size (eg. 419.655.228 or 419,655,228 , depending on your locale settings);
- the other one uses KDE's function (KIO::convertSize) to convert the value above in a human redeable form;

the problem is that KIO::convertSize returns just one decimal value (or no decimals when not needed) [1]; so, there is no (actual) way to change this behaviour.

Davide

[1] : https://api.kde.org/frameworks/kio/html/global_8cpp_source.html#l00116

SanskritFritz L

unread,
May 16, 2017, 2:45:27 AM5/16/17
to krusader-users
Sorry I didn't read your post properly.
Reply all
Reply to author
Forward
0 new messages