Custom status bar info
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom status bar info
1) Confirmed and fixed.
2) Works here. It might depend on the template. What is yours? (Maybe I misunderstood, but if there is no template then no effect can be seen, of course.)
2) Works here. It might depend on the template. What is yours? (Maybe I misunderstood, but if there is no template then no effect can be seen, of course.)
FAQ | XY News RSS | XY X
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Custom status bar info
1) Thanks, that was nice to have tracked down.
2) If you load fresh; there is a default template right?, if you run that command I mentioned (or even
2) If you load fresh; there is a default template right?, if you run that command I mentioned (or even
statusbartemplate(, 1)) before opening the config dialog, nothing happens. If you then subsequently open config and close it with no changes, not even switching config pages, then the template kicks in, anyway its no big issue, I was just mentioning it as an observation.-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom status bar info
Ah, the default template -- facepalm. Yeah, confirmed. Guess I will fix it now... 
FAQ | XY News RSS | XY X
-
Evolve
- Posts: 354
- Joined: 27 Feb 2020 09:48
Re: Custom status bar info
There seem to be a bug with this option:
1. Open This PC
2. Select a Disk, Status Bar shows it'sname letter
3. Open the disk and then go back to This PC
4. The disk gets auto selected but status bar ignores special rules for This PC and runs the template
PS. Here is my template BTW:
The status bar shows me this when I manually select disk C:\
When it gets auto selected the status bar shows this
PPS. Actually... I remember you agreed that This PC should obey template, so the manual selection is bugged, not the auto one.
Either way it should work one way or another, not both. If you end up deciding to go back and show just a Diskname letter overriding template, can you add Used Space to it cause it's nowhere shown, only Free Space and Total Size.
Code: Select all
Configuration | General | Tree and List | List | Select last used subfolder2. Select a Disk, Status Bar shows it's
3. Open the disk and then go back to This PC
4. The disk gets auto selected but status bar ignores special rules for This PC and runs the template
PS. Here is my template BTW:
Code: Select all
|s|<get CountSelected> | <get 'BytesSelected' '' 1><get LengthsSelected a 6 ' | * '>Either way it should work one way or another, not both. If you end up deciding to go back and show just a Disk
You do not have the required permissions to view the files attached to this post.
Last edited by Evolve on 20 Dec 2021 10:56, edited 1 time in total.
-
Evolve
- Posts: 354
- Joined: 27 Feb 2020 09:48
Re: Custom status bar info
Seem to be even more bugged...
You do not have the required permissions to view the files attached to this post.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom status bar info
Will work better in next beta.
For used space you can use
In the next beta it supports thousand separators like this:
For used space you can use
<get UsedSpace '' 1 ' | * '>.In the next beta it supports thousand separators like this:
<get UsedSpace '' 2 ' | * '> (flag 2).FAQ | XY News RSS | XY X
-
Evolve
- Posts: 354
- Joined: 27 Feb 2020 09:48
Re: Custom status bar info
Thank you for another quick fix, now it works as expected. Unfortunately, I just realized that I definitely was wrong. There should be special rules for selected disks in This PC. I was just unsatisfied that it only showed a disk letter, but the reality is that 1) template made for files doesn't make sense for disks and 2) disks don't have much to show anyway. So a better way would be to ignore template and just show all the possible missing info directly.
You do not have the required permissions to view the files attached to this post.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom status bar info
I agree it should not use the template that's meant for files.
But there might be different opinions about what it should do instead. Maybe it should just do the same it does in a normal folder when nothing is selected.
But there might be different opinions about what it should do instead. Maybe it should just do the same it does in a normal folder when nothing is selected.
FAQ | XY News RSS | XY X
-
Evolve
- Posts: 354
- Joined: 27 Feb 2020 09:48
Re: Custom status bar info
PS: "none selected" is already OK, it shows all the info and Free Space even twice, why btw? 
PPS. How about moving free % to the left one and getting rid of the duplicate? Same inside disks My concern here is not even status bar space it takes but unnecessary confusion it causes.
PPS. How about moving free % to the left one and getting rid of the duplicate? Same inside disks My concern here is not even status bar space it takes but unnecessary confusion it causes.
You do not have the required permissions to view the files attached to this post.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom status bar info
I think I found that bug. It happened when switching tabs that had the same number of items. Fixed now.
FAQ | XY News RSS | XY X
-
Evolve
- Posts: 354
- Joined: 27 Feb 2020 09:48
Re: Custom status bar info
My another subjective opinion is that the inconsistency of the format in the status bar is also confusing:
bar2 format is free: <number>, capacity: <number>
whereas for bar3 it's the opposite: <number> used, <number> free
Why don't just pick one and follow it?
And the density of the data doesn't help much. "<TAB>" would be a better separator here than ", "
bar2 format is free: <number>, capacity: <number>
whereas for bar3 it's the opposite: <number> used, <number> free
Why don't just pick one and follow it?
And the density of the data doesn't help much. "<TAB>" would be a better separator here than ", "
You do not have the required permissions to view the files attached to this post.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom status bar info
There is some consistency in the sequence:
I agree about the layout. I might replace the commas by some amount of space later.
used - free - capacity
free - capacity
used - free
I agree about the layout. I might replace the commas by some amount of space later.
FAQ | XY News RSS | XY X
-
Evolve
- Posts: 354
- Joined: 27 Feb 2020 09:48
Re: Custom status bar info
Code: Select all
v22.60.0105
...
+ SC get got a new named argument "FileSystem". Returns the file system
(NTFS, FAT32 ...) for the current or the specified path.
Syntax: get("FileSystem", [path])
Examples:
echo <get FileSystem>;
echo <get FileSystem J:>;
echo <get FileSystem "J:\rocky 3.jpg">;
echo <get FileSystem "J:\non-existing-path-or-file.foo">; //works anyway
...
* Custom Status Bar Info: Now the drives support for CSBI is limited to the
presense of a new switch: Everything right of |d| is used for drives,
everything left of it for other items. If |d| is missing then the template
is not used for drives at all.
Examples:
|s|<get BytesSelected '' 3>|d|<get FileSystem>
|s|<get BytesSelected '' 3>|d|* - <get FileSystem>
|d|* (<get FileSystem>) |s|<get BytesSelected '' 3>
! Status Bar: It was not always updated when switching tabs that had the
same number of items in the file list. Fixed.
...One sudden thing. The bug you fixed yesterday has risen from the dead. The one where I selected two disks, then unselected one and the status bar thought nothing was selected.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom status bar info
Not sure what you mean. I fixed so many little things yesterday... 
FAQ | XY News RSS | XY X
-
Evolve
- Posts: 354
- Joined: 27 Feb 2020 09:48
Re: Custom status bar info
It's actually a little bit different
You do not have the required permissions to view the files attached to this post.
XYplorer Beta Club