Page 1 of 1
INI-option for "-" instead of [Empty] in folder Size column
Posted: 27 May 2010 02:50
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).
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 27 May 2010 08:09
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.
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 27 May 2010 09:14
by admin
OK, added a tweak.
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 27 May 2010 14:10
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:
Now:
Perhaps something combining the two approaches would work best? Something like:
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.
P.S. what is the tweak to re-enable the "-" marker for empty directories?
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 27 May 2010 21:08
by medder
admin wrote:OK, added a tweak.
Thanks. The tweak works perfectly.
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 27 May 2010 21:45
by admin
lukescammell wrote:P.S. what is the tweak to re-enable the "-" marker for empty directories?
FolderEmpty="-"
The other stuff tomorrow...
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 28 May 2010 10:07
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.
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?
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 28 May 2010 11:05
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...
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 28 May 2010 11:12
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...

Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 29 May 2010 10:44
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?
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 29 May 2010 16:08
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.
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 30 May 2010 12:29
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!
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 01 Jun 2010 10:23
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 :/
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...
Re: INI-option for "-" instead of [Empty] in folder Size column
Posted: 01 Jun 2010 11:13
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 :/
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?