INI-option for "-" instead of [Empty] in folder Size column

Features wanted...
Post Reply
medder
Posts: 69
Joined: 19 May 2008 02:55

INI-option for "-" instead of [Empty] in folder Size column

Post by medder »

In older versions there was "-" symbol shown in Size column if the folder was Empty.
That was very comfortable because you could visually find empty folders in a moment.

Now XYplorer shows "0" for folders with empty files/subfolders and "[Empty]" for empty folders.

Yes, it is logical.

And I understand why some users where confused with "-" and "0".
* List: When showing folder sizes, empty folders now display the label "[Empty]" in the Size column. Before they displayed "-" which lead to confusion among various users.
BUT the "-" symbol in size column was comfortable for some other users like me :)

The construction "[Empty]" has the same width as other size-values.

For example:

1) Old behavior:

Code: Select all

Folder 1           1,45 GB
Folder 2          31,11 MB
Folder 3                 -
Folder 4           7,07 GB
Folder 5          77,84 KB
Folder 6                 -
Folder 7           2,45 GB
2) Current behavior:

Code: Select all

Folder 1           1,45 GB
Folder 2          31,11 MB
Folder 3           [Empty]
Folder 4           7,07 GB
Folder 5          77,84 KB
Folder 6           [Empty]
Folder 7           2,45 GB
In first (old) case you can quickly find empty folders (3, 6) in one look.
In second (new) case you should read through the whole list of folders, and waste more time.

And what if there are hundreds of folders?

So my preposition is to add and INI-setting so that users can chose between NEW default behaviour and OLD (confusing but comfortable).

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by j_c_hallgren »

medder wrote:So my preposition is to add and INI-setting so that users can chose between NEW default behaviour and OLD (confusing but comfortable).
I can see your point here because while [Empty] is unique and does somewhat stand out, it's not quite as easy to see/spot quickly as the gaps/holes that using "-" creates in the column...and what may be good for a nbr of users may not be as good for those used to the current style.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by admin »

OK, added a tweak.

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by lukescammell »

Taking this further... any chance of improving the [Access Denied] message on folders. It's a lot less useful than the old way of doing things.

Before:
Image

Now:
Image

Perhaps something combining the two approaches would work best? Something like:
Image

Code: Select all

>= 1,916,023 KB        Program Files            
>=10,847,038 KB        Program Files (x86)      
>= 1,500,301 KB        ProgramData              
[Access Denied]        System Volume Information
System Volume Information and MSOCache are actually the only directories out of those that I really, truly had denied access to... everything else I had access to and could see most, if not all of the files in the directory.

And another thing! Why is it that I get prompted to elevate permissions by WE when I try to access MSOcache, but XY just does nothing and says "access denied"? WE gives me this dialogue box, which allows me to view the directory.
Image

P.S. what is the tweak to re-enable the "-" marker for empty directories?
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

medder
Posts: 69
Joined: 19 May 2008 02:55

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by medder »

admin wrote:OK, added a tweak.
Thanks. The tweak works perfectly.

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by admin »

lukescammell wrote:P.S. what is the tweak to re-enable the "-" marker for empty directories?
FolderEmpty="-"

The other stuff tomorrow...

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by admin »

lukescammell wrote:

Code: Select all

>= 1,916,023 KB        Program Files            
>=10,847,038 KB        Program Files (x86)      
>= 1,500,301 KB        ProgramData              
[Access Denied]        System Volume Information
System Volume Information and MSOCache are actually the only directories out of those that I really, truly had denied access to... everything else I had access to and could see most, if not all of the files in the directory.

And another thing! Why is it that I get prompted to elevate permissions by WE when I try to access MSOcache, but XY just does nothing and says "access denied"? WE gives me this dialogue box, which allows me to view the directory.
Image

P.S. what is the tweak to re-enable the "-" marker for empty directories?
>= 1,916,023 KB is a good idea, but technically not possible at the moment (or with huge rewrites, or with performance loss).

So I changed it so that "access denied" is only shown when no bytes or counts were returned at all in a folder.

I have no idea why MSOcache behaves differently in XY. I don't have this folder to test. It's certainly strange that such a difference exists. Maybe an MS internal special trick?

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by lukescammell »

Eh... remind me again where I put tweaks please - it's been such a long time since I've needed to...

With 9.11.0012 I'm still getting the full [Access Denied] on all the folders I was previously (see images above).

Also, I'll see if I can get all the ownership details/permissions for the MSO folder and try and replicate it myself with another test folder. If I can, I'll pass those details on to you for testing.

BTW, do you have a test VM for Vista? If not, might be worth picking it up from the Microsoft download site...
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by admin »

lukescammell wrote:Eh... remind me again where I put tweaks please - it's been such a long time since I've needed to...

With 9.11.0012 I'm still getting the full [Access Denied] on all the folders I was previously (see images above).

Also, I'll see if I can get all the ownership details/permissions for the MSO folder and try and replicate it myself with another test folder. If I can, I'll pass those details on to you for testing.

BTW, do you have a test VM for Vista? If not, might be worth picking it up from the Microsoft download site...
tweak: in INI file

You mean 9.11.0013? Works fine here... :?

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by admin »

admin wrote:
lukescammell wrote:Eh... remind me again where I put tweaks please - it's been such a long time since I've needed to...

With 9.11.0012 I'm still getting the full [Access Denied] on all the folders I was previously (see images above).

Also, I'll see if I can get all the ownership details/permissions for the MSO folder and try and replicate it myself with another test folder. If I can, I'll pass those details on to you for testing.

BTW, do you have a test VM for Vista? If not, might be worth picking it up from the Microsoft download site...
tweak: in INI file

You mean 9.11.0013? Works fine here... :?
So, does it work now with 9.11.0013?

Muroph
Posts: 561
Joined: 21 Aug 2007 16:13

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by Muroph »

a minor bug, not worth a new topic:

up to v9.11.0005, when you selected some folders and clicked "calculate folder sizes" the status bar would automatically update to show the total calculated size of the selected items.
but since v0007 you have to manually force the status bar to update (e.g. by changing the selection) to see the total.
My shared scripts:
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by admin »

Muroph wrote:a minor bug, not worth a new topic:

up to v9.11.0005, when you selected some folders and clicked "calculate folder sizes" the status bar would automatically update to show the total calculated size of the selected items.
but since v0007 you have to manually force the status bar to update (e.g. by changing the selection) to see the total.
Confirmed, fixed, thanks!

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by lukescammell »

admin wrote:So, does it work now with 9.11.0013?
Well I've put the weak in my ini file and it keeps getting removed :/

Code: Select all

FolderEmpty="-"
I've made sure to put it in when XY is not running, but it still just removes it from the file on exiting XY.
Obviously I've missed something obvious...
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: INI-option for "-" instead of [Empty] in folder Size column

Post by admin »

lukescammell wrote:
admin wrote:So, does it work now with 9.11.0013?
Well I've put the weak in my ini file and it keeps getting removed :/

Code: Select all

FolderEmpty="-"
I've made sure to put it in when XY is not running, but it still just removes it from the file on exiting XY.
Obviously I've missed something obvious...
Are you using a pre-9.11.0012 version?

Post Reply