Show 0 as null folder size instead of <DIR>

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Show 0 as null folder size instead of <DIR>

Post by *MVV »

I think <DIR> should be used only for folders whoose size is not calculated. If user asks for calculation, TC should show folder size, even if it is equal to zero. Why not to show 0 instead of <DIR> for empty folders after folder size calculation?
Last edited by MVV on 2010-07-20, 08:12 UTC, edited 1 time in total.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Faster---

Post by *Clo »

2MVV

:) Hello !

• Indeed, that should be more logical and would avoid to press the space-bar to ensure that the folder is empty. So, I support the principle.
- However, on one hand “0” doesn't need translations, but it's a single character - maybe not obvious to spot at first glance…
… on the other hand, a string like <Empty> needs translation, but is better IMHO… :roll:

:mrgreen: KR
Claude
Clo[face=arial][/face]
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

<Empty> may confuse since it may be treated as 0 bytes and 0 files inside.

Create new folder and place a file with size 5 Bytes into. Press Spacebar. TC will show 5 b. Also not obvious to spot. :wink: But if we have "1 b", "2 b", ..., "9 b", why not to have "0 b" too?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Octet---

Post by *Clo »

:arrow: MVV

:) Again…
…why not to have "0 b" too?
• Because i.e in French byte is octet, so needs translation…

:mrgreen:  KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
ouzoWTF
Junior Member
Junior Member
Posts: 93
Joined: 2009-04-20, 21:03 UTC

Post by *ouzoWTF »

Support!
Single User Licence #201763
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Octet---

Post by *MVV »

Clo wrote:• Because i.e in French byte is octet, so needs translation…
Theese strings are translated many years ago! :wink:

If 'bytes' is selected as size display, there will be just one digit w/o letters ("0", "1", ..., "9"), if 'dynamic' - TC appends translated Byte string ("0 b", "1 b", ..., "9 b" in internal English, "0 байт", "1 байт", ..., "9 байт" in official Russian, "0 o", "1 o", ..., "9 o" in official French)....
User avatar
aRIEL242
Junior Member
Junior Member
Posts: 65
Joined: 2009-06-29, 12:31 UTC

Post by *aRIEL242 »

Support.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Some other functionality would need to be added, as
currently after a calculate space, a Folder that is empty or only contains other (empty) folders shows up as <DIR> -- whereas you will see "0" when you are using "KB" for display and any possible files are < 1KB in size.

Though now I see some inconsistency, changing my display to "Bytes" (Tabstops) and deleting the contents of a test file (so it is 0 bytes)... Now after calculate space TC is indicating <DIR> ... instead of 0. And depending on the drive's sector size, that empty file is really taking up at least 4KB.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Maybe it is time to fix this simple thing? :)
It is really strange why size of empty folders looks like size of folders whoose size is unknown.
User avatar
JohnFredC
Power Member
Power Member
Posts: 886
Joined: 2003-03-14, 13:37 UTC
Location: Sarasota Florida

Post by *JohnFredC »

Support+
Licensed, Mouse-Centric, moving (slowly) toward Touch-centric
HBB
Senior Member
Senior Member
Posts: 295
Joined: 2008-05-05, 21:31 UTC

Post by *HBB »

Maybe,

empty folders may be shown directly as a special symbol (0 or another one) without pressing space bar (without forcing to calculate size).
Lope
Junior Member
Junior Member
Posts: 22
Joined: 2010-09-26, 14:17 UTC

Post by *Lope »

I think folders with nothing in them should be <Empty>
And folders containing files or folders of zero bytes should show up as 0.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

I guess you guys know that Dirsizecalc behaves in the requested way...
Lope
Junior Member
Junior Member
Posts: 22
Joined: 2010-09-26, 14:17 UTC

Post by *Lope »

Maybe if it could check for the above during idle?
Orastatty
Junior Member
Junior Member
Posts: 2
Joined: 2010-12-01, 22:42 UTC
Location: Russia

Show 0 as null folder size instead of t DIRt

Post by *Orastatty »

I see there is an option to show directory size "show occupied space", but Id like to see it has two more features. One - permanent setting, so when you change directories it also shows size; two - select what file extension, Im used to seeing file sizes in Kb or KiB if you like.
Post Reply