File-size display

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
User avatar
KNUT
Posts: 286
Joined: 12 Dec 2005, 09:57
Location: Hamburg, Germany

File-size display

Post by KNUT »

Hello!
IMHO the display of filesize ist not ok (I use "Show sizes in short format"):
My panel looks like follows:

Code: Select all

dfNDPS01.xxx     1,2 MB
drdmcgap.dhb      862 B
imaadp32.acm      16 KB
fl3gdjjdca.acm   284 KB
gshdp32.acm     14,5 KB
Problems (bugs?):
- Sometimes 1 decimal place and sometimes none (one would by ok for me)
- The "B" isn't suitable to the other ("MB", "KB")

Kind regards from Hamburg, Germany
KNUT
------
My config: Servant Salamander 2.5 beta 10 with Microsoft Windows XP Professional Service Pick w (Build 2600)
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

Use Options > Configuration > Panels > Show sizes: In Kilo Bytes mode instead.

We can introduce another mode if there will be demand... but current behaviour is not a bug.

Moderator: Moved from Problems and Troubleshooting.
User avatar
KNUT
Posts: 286
Joined: 12 Dec 2005, 09:57
Location: Hamburg, Germany

Post by KNUT »

Jan Rysavy wrote:Use Options > Configuration > Panels > Show sizes: In Kilo Bytes mode instead.
Yes, this looks better :D
Jan Rysavy wrote:We can introduce another mode if there will be demand... but current behaviour is not a bug.
isNootanother mode, but a better "short format" display (as mentioned below) would be nice!
Kind regards, KNUT
_____________________________________________
Satisfied Servant Salamander User from Version 1.5 till now
thomas_s
Posts: 18
Joined: 28 Jan 2006, 08:41

Post by thomas_s »

Just curious: why a large K is used in KB? I thought, it should be a small one (kB). Or does it stand for kibi (1024) instead of kilo (1000)?

Tom
Claus

"K" vs "k"

Post by Claus »

This is the SI standard. "K" = Kilo = 1000, like "m" = 1/1000 and "M" = 1000.000
User avatar
Mem
Posts: 202
Joined: 08 Mar 2006, 15:07
Contact:

Re: "K" vs "k"

Post by Mem »

Claus wrote:This is the SI standard. "K" = Kilo = 1000, like "m" = 1/1000 and "M" = 1000.000
Nice, but what good is SI standard for us, when in computers we use units based on binary system? (kB = KiB, MB = MiB, Mbps = Mibps etc. Only those crazy harddrive manufacturers use GB not as GiB but 10^9)

And of course Windows Explorer also uses "kB" (KiB), not "KB"
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: "K" vs "k"

Post by Jan Rysavy »

Mem wrote:And of course Windows Explorer also uses "kB" (KiB), not "KB"
There is "KB" (not "kB") displayed in my W2K Windows Explorer.

Please look at
http://en.wikipedia.org/wiki/Kilobyte
http://en.wikipedia.org/wiki/Megabyte

EDIT:
http://en.wikipedia.org/wiki/Binary_prefix
Last edited by Jan Rysavy on 17 Mar 2006, 10:56, edited 1 time in total.
User avatar
Mem
Posts: 202
Joined: 08 Mar 2006, 15:07
Contact:

Re: "K" vs "k"

Post by Mem »

Jan Rysavy wrote:There is "KB" (not "kB") displayed in my W2K Windows Explorer.
But in my Windows XP, there is "kB" (Will we wait for Vista? ;-)). And almost every professional apllication uses units based on power of 2 (kB, KiB).

Also please note, that these articles in Wikipedia represents only arguments (or let's say thoughts) of certain persons - this is not based on standard, RFC etc.

But the point is, that showing KB (1000) instead ok kB (1024) is also different from Windows Explorer in latest Windows (and can you please check, if "KB" in W2K Explorer is really 1000 or bug/feature 1024? :wink:)
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

In W2K (Windows Explorer, Properties dialog box, etc) the 1 "KB" = 1024 "Bytes".
User avatar
Mem
Posts: 202
Joined: 08 Mar 2006, 15:07
Contact:

Post by Mem »

Jan Rysavy wrote:In W2K (Windows Explorer, Properties dialog box, etc) the 1 "KB" = 1024 "Bytes".
I thought that, typical Microsoft ;-)

In Windows XP it si fixed everywhere to kB = 1024 B, so I suggest SS should use these units too (or at least let user choose in configuration to show SI units with base 10 or "computer" units with base 2)

Image
User avatar
jis
Posts: 451
Joined: 27 Jan 2006, 23:14
Location: Prague, Czech Republic

Post by jis »

Mem, compare how it looks in English Windows XP Professional, notice KB, not kB:

Image Image
Last edited by jis on 17 Mar 2006, 23:33, edited 1 time in total.
Altap Salamander fan since 1998
omega
Posts: 196
Joined: 09 Dec 2005, 19:21

Post by omega »

I have always learned KB (KiloByte) = 1024 Bytes, never heard of KiB (kibibyte) until recently. It seems there are misunderstandings whether the k should be in capital (K) or the small (k) or the b should in capital as well.
Also there are people thinking the unit kilo should be 1000 and not used as 1024 in the computerworld and therfore should use kibibyte.

KB/MB has been used for ages why change this to kibibyte/mebi thing anyway?
User avatar
Mem
Posts: 202
Joined: 08 Mar 2006, 15:07
Contact:

Post by Mem »

omega wrote:I have always learned KB (KiloByte) = 1024 Bytes, never heard of KiB (kibibyte) until recently. It seems there are misunderstandings whether the k should be in capital (K) or the small (k) or the b should in capital as well.
And I have always learned kB (kiloByte) = 1024 bytes (and I studied Computer Science with Master of Arts degree ;-)). The capital "K" is SI unit 10^3, so it's quite reasonable to have different prefix "k" for 2^10. (Problem is with MB, although mB - milliByte is non-sense, it has not been used anyway).

EDIT: I was mistaken here, sorry! In SI "K" stands for "Kelvin", the only "kilo" is "k", so from my argumentation now KB should be correct, mea culpa. But from the new point of view I will definitely accept "kiloByte" rather than "KelvinByte" ;-)

Kibibytes etc. are newer efforts to clear this mess, but kB was here before that (I remember it from time of MS DOS).
omega wrote:KB/MB has been used for ages why change this to kibibyte/mebi thing anyway?
I don't think so. Every good application I know uses "kB" in correct meaning, not "KB".
(See screenshot from StrongDC++ client: Image)

But the sad point is Microsoft. As mentioned by Jan Rysavy, me and jis, this is the situation:
- W2K - KB meaning 2^10
- WXP SP2 Czech - kB meaning 2^10
- WXP English - KB meaning 2^10
Last edited by Mem on 18 Mar 2006, 17:54, edited 1 time in total.
omega
Posts: 196
Joined: 09 Dec 2005, 19:21

Post by omega »

I've studied CS as well :D i guess each teachers tells a different story.
Ever good application you know use kB? Well Bitcomet, SS etc. uses KB are you saying they are bad application? :?
User avatar
Mem
Posts: 202
Joined: 08 Mar 2006, 15:07
Contact:

Post by Mem »

omega wrote:Ever good application you know use kB? Well Bitcomet, SS etc. uses KB are you saying they are bad application? :?
Salamander uses it as a new feature, and from my point of view it is implemented bad way.

Bitcomet - for torrents I prefer Azureus (more options, more professional), and Azureus uses "kB". And I have also found screenshot of latest version of Bitcomet, and I see "kB"!!! ;-) (In fact, they mix these units - the header in download queues says "KB/s Dn", but the real numbers are in "kB/s" :lol:)
Post Reply