Quickest way to find size of folder while in it?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Quickest way to find size of folder while in it?

Post by j_c_hallgren »

Having a "senior" moment now:

Here's the scenario --
Have selected a folder via Catalog and don't have the tree readily visible as have Cat taking almost all of that frame...
Then have selected a few scattered files in the folder...
Now want to find the total size of all files within current folder...
Status bar show me that I have 36 files in folder but no clue as to size...
So..How best to do so and not loose my place or selection?
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.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

Hmmmm If its just files, you should see the size in the status bar. Strange that you dont.

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

Post by j_c_hallgren »

Nope..I don't see it...status bar has following fields:
Area 1: Nbr items in folder + drive free space
Area 2: Nbr items selected + tot size of selected
Area 3: Name of current focused item

Nowhere in there is the total size of current folder, thus my query.
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.

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Post by ivan »

To get size of folder to display you must either have all items in that folder selected or none.

Here's an illustration with no items selected in the folder (middle section):

Image

So the total size of the folder is 3.41GB ;)

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

Post by j_c_hallgren »

ivan wrote:To get size of folder to display you must either have all items in that folder selected or none.
Agreed, but what can one do when you've already made your selections and don't want to affect those?
That was the situation that I was in...
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.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

j_c_hallgren wrote:Nope..I don't see it...status bar has following fields:
Area 1: Nbr items in folder + drive free space
Area 2: Nbr items selected + tot size of selected
Area 3: Name of current focused item

Nowhere in there is the total size of current folder, thus my query.
:oops: , that was hasty response. I cant think of a way to know size of current folder when one has files selected.

ivan
Posts: 577
Joined: 02 Apr 2008 12:52
Contact:

Post by ivan »

j_c_hallgren wrote:Agreed, but what can one do when you've already made your selections and don't want to affect those?
That was the situation that I was in...
You can right-click on a folder and select Properties. Then, you can click back in the pane where the files are selected and they still will be ;)

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

Post by j_c_hallgren »

ivan wrote:You can right-click on a folder and select Properties. Then, you can click back in the pane where the files are selected and they still will be ;)
Ah...but...I don't have the folder showing, remember? I got to it via Catalog and also don't have tree really visible...so I'd have to move the tree/cat split line, but also, if one don't have the tree in sync, (which one would do if you're not using it), then what?
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.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

Not the best or the quickest, but you can always open a new tab and view it there and close it, while your selection in the previous tab remains undisturbed.

Update: Maybe you can make a script.

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

Post by admin »

Coming version:

Code: Select all

    + Statusbar: The total size of the current folder is now displayed 
      in the tooltip of the 2nd statusbar section when any items are 
      selected. Thus you can see the total size of the selection AND the 
      total size of the folder at the same time.

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

Post by j_c_hallgren »

Thanks! :D

:oops: BTW, the scenario I gave isn't 100% like I have but is a very slight projection of what I have, and wouldn't be unusual to expect from a typical user...however, I did have the basic problem as described, and the code change given will prove useful even in my setup.
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.

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

Post by j_c_hallgren »

admin wrote:

Code: Select all

    + Statusbar: The total size of the current folder is now displayed 
      in the tooltip of the 2nd statusbar section 
Now that I've tried it out, I'd like to suggest a modification of where this is shown... :oops:

Since the 1st section shows total, and 2nd shows selected, it would seem a tad better to me to have total size as an extension of 1st section tooltip with the exact location of display of pop-up moved somewhat to the right so that total size would thus appear somewhat under the selected total on bar as it basically does now.

Given that what shows on tooltip duplicates bar info, having both sizes in 2nd section tip makes it redundant enough that spotting the data I want is not quite as easy as it might be if it were more unique.
Does that make sense?

But hey, I could get used to it as it exists now if needed...just wanted to make that suggestion at least.
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: 66083
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:
admin wrote:

Code: Select all

    + Statusbar: The total size of the current folder is now displayed 
      in the tooltip of the 2nd statusbar section 
Now that I've tried it out, I'd like to suggest a modification of where this is shown... :oops:

Since the 1st section shows total, and 2nd shows selected, it would seem a tad better to me to have total size as an extension of 1st section tooltip with the exact location of display of pop-up moved somewhat to the right so that total size would thus appear somewhat under the selected total on bar as it basically does now.

Given that what shows on tooltip duplicates bar info, having both sizes in 2nd section tip makes it redundant enough that spotting the data I want is not quite as easy as it might be if it were more unique.
Does that make sense?

But hey, I could get used to it as it exists now if needed...just wanted to make that suggestion at least.
There are a couple of reasons for doing it the way I did it. One is internal and can't be explained here easily (software architecture...), one is that the tooltip of the 1st section already has optional extensions when visual filters are used.

Post Reply