Display 0 as a size of non-empty directory with no data

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Display 0 as a size of non-empty directory with no data

Post by *m^2 »

Currently, after calculating size, if directory size is 0, it's displayed as <DIR>. What I dislike about it is that if doesn't tell whether directory is empty or has a million files and directories, just all empty.

So I request changing "<DIR>" to "0" for non-empty directories.
Or - better - also change "<DIR>" to "empty" for empty directories.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

0 is universal

Post by *Clo »

2m^2

:) Hello !

• You are right, but IMHO "0" (maybe red-bold) is enough, "empty" needs translations and there is no convenient string to reuse currently… :|

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Indeed, it's a solution, but the plugin has a critical bug, which makes it unusable for almost anything else - it uses decimal units. 0 is fine, but it breaks soon after.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2m^2
the plugin has a critical bug, which makes it unusable for almost anything else - it uses decimal units
You can switch between decimal and binary calculation in configuration.
I wonder why call it a critical bug though. I guess you hard disk drive manufacturer uses the same "critical bug" for its size calculations.
it breaks soon after
What do you mean by that?
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Lefteous wrote:2m^2
the plugin has a critical bug, which makes it unusable for almost anything else - it uses decimal units
You can switch between decimal and binary calculation in configuration.
Strange. I remember that about 1 year ago I searched for it being sure that there was such option, but did't find it.
But as you say it, I have no doubt you're right.
Lefteous wrote:I wonder why call it a critical bug though. I guess you hard disk drive manufacturer uses the same "critical bug" for its size calculations.
No. For them it's not a bug, but a shameless lie.
Lefteous wrote:
it breaks soon after
What do you mean by that?
I just meant that as soon as total size reaches 1000 B your plugin thinks it's 1 KB already. I guess it's irrelevant now.

And I'm sorry for being harsh, the decimal-binary conflict really annoys me and so do programs from the other side.


EDIT:
I see, there's indeed a bug but different that I remembered. A simple but very annoying typo: i between K/M/G and B in KB. It can be mostly fixed in the language though.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2m^2
I see, there's indeed a bug but different that I remembered. A simple but very annoying typo: i between K/M/G and B in KB. It can be mostly fixed in the language though.
Please consider that I'm actually using standard unit prefixes:
http://en.wikipedia.org/wiki/Byte
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Lefteous wrote:2m^2
I see, there's indeed a bug but different that I remembered. A simple but very annoying typo: i between K/M/G and B in KB. It can be mostly fixed in the language though.
Please consider that I'm actually using standard unit prefixes:
http://en.wikipedia.org/wiki/Byte
I don't consider wikipedia to be any authority, so I won't even bother looking inside.
There are 2 standards, one is SI, the other MS. You're SI, but not MS compliant and I'm for MS, that's why I complain. I guess it's EOT. If you really want to continue, let's go to another thread.
User avatar
ThurahT
Member
Member
Posts: 112
Joined: 2003-07-24, 14:43 UTC

Re: Display 0 as a size of non-empty directory with no data

Post by *ThurahT »

m^2 wrote:Currently, after calculating size, if directory size is 0, it's displayed as <DIR>. What I dislike about it is that if doesn't tell whether directory is empty or has a million files and directories, just all empty.

So I request changing "<DIR>" to "0" for non-empty directories.
Or - better - also change "<DIR>" to "empty" for empty directories.
I am curious what this would do to this scenario wich I use quite often: Mark any desired amount of "DIR"s empty or not and F5 "but only of the type" choose "DIR" and those "DIR"s gets copied.
Total Commander and Gaming. Only reasons left to use Windows.
Post Reply