Custom status bar info

Features wanted...
Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Custom status bar info

Post by Evolve »

The bug goes beyond disks. It spreads into files as well.
And there is another bug with the way spaces are counted in the template

Code: Select all

|s|<get CountSelected> selected <get LengthsSelected a 4 '          *'>
LsUPI325uF.gif
LsUPI325uF.gif (23.02 KiB) Viewed 878 times

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

Re: Custom status bar info

Post by admin »

1) Using the latest beta?
2) Describe the problem in words.

Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Custom status bar info

Post by Evolve »

1. Yes, the latest beta v20.60.0107
2. I add two spaces and the status bar shows 2, then I add the 3rd one and the status bar subtract one and it goes this way +2-1+2-1...

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

Re: Custom status bar info

Post by admin »

1. Cannot reproduce the problem.
2. Yep, there is some smartness built in that removes abundant spaces.

Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Custom status bar info

Post by Evolve »

admin wrote: 22 Dec 2021 14:05Cannot reproduce the problem.
1) fresh instance
2) template: |s|<get CountSelected>
3) select 2 folders, unselect one

gQRZ1dLqaf.gif
gQRZ1dLqaf.gif (29.35 KiB) Viewed 867 times

ps:
expected: bar3 shows "1"
observed: bar3 shows "drive C: used 31,91 GB..."

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

Re: Custom status bar info

Post by admin »

Ok, should work better next time.

Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Custom status bar info

Post by Evolve »

With the last beta v22.60.0109 the bug got fixed for files but not for disks.
The symptoms are identical: select 2 disks, then unselect one, with a template |s||d|<get FileSystem> bar3 doesn't show file system for the other disk that remains selected.
Another issue is that lasso selection doesn't trigger the disk template (it works fine for files)

W7EhcwBzgN.gif
W7EhcwBzgN.gif (43.76 KiB) Viewed 850 times

PS.This is by no means an emergency requiring immediate fixing, just letting you know what I've found.

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

Re: Custom status bar info

Post by admin »

Put the |s| right of the |d| to have it apply to the drives (the template is first cut by |d|, then the parser looks for any |s|, so you can have |s| on both sides of |d|):

Code: Select all

|d||s|<get FileSystem>
And I fixed something that should improve it next time.

BTW, this template will tell you which item's file system is shown:

Code: Select all

|d||s|<curitem> = <get FileSystem> - <get BytesSelected '' 1 'Selected bytes: *'>

Evolve
Posts: 353
Joined: 27 Feb 2020 09:48

Re: Custom status bar info

Post by Evolve »

There is one last tiny thing that keeps me from being completely happy with selecting disks.
Could you please add a flag to <get UsedSpace> so that it returns 2,73 TB (98%) instead of 2,73 TB (2 999 736 483 840 bytes)?

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

Re: Custom status bar info

Post by admin »

Makes sense. :cup:

Next beta lets you do this:

Code: Select all

|d|<get FileSystem '' '' '? = *'> | <get UsedSpace '' 8> | <get FreeSpace '' 8>
The ? is a placeholder for the polled item. Not mentioned in change log. Later...

Post Reply