Subfolder size (CTRL-D)

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

tutils
Member
Member
Posts: 41
Joined: 2005 Jan 25, 13:15

Subfolder size (CTRL-D)

Post by tutils »

Two issues about this feature:

1. If I stand on a directory and press CTRL-D, it calculates the size of all the directories visible in the panel, regardless of the selected ones. This is an annoyance, because some directories may contain a lot of files and subdirectories, and this operation might be lengthy.

2. While the Subfolder size feature is calculating, I noticed that I can press ESC to abort. This is great. However, if I close the window while it is calculating, the thread that is calculating in the background does not stop, and keeps running in the background! The only way to stop it is to either wait for it to finish, or to end the task from the Task Manager.
User avatar
nikos
Site Admin
Site Admin
Posts: 16401
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

you can't restrict folder size calculation to your selection but you can work around it as such:

* ctrl+alt+J to restrict visibility to selected items (View | visual filter)
* ctrl+D to calculate subfolder size
* View | show all

coming to the 2nd problem, x2 has a single "helper" background thread. Once it is busy, all the auxiliary information (e.g. slow columns) is temporarily suspended. But this doesn't stop you using the program and managing folders.

If you want to resume full functionality without waiting for the helper to finish, just clone a fresh window (File or Window menu)
narayan
Platinum Member
Platinum Member
Posts: 1430
Joined: 2002 Jun 04, 07:01

Post by narayan »

@issue-1:
Nikos- If the visibility is turned off for some large folders, will x2 stop processing them for size?

Tutlis, there is another way- Select the files and folders and press CTRL+S. This will transfer them into a scrap pane. Now press CTRL+D to see the sizes. The rest of the folders are not involved.
User avatar
nikos
Site Admin
Site Admin
Posts: 16401
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

If the visibility is turned off for some large folders, will x2 stop processing them for size
most likely not, since the request has been sent out already
the only way to cancel pending items from background processing is to get out of the folder
narayan
Platinum Member
Platinum Member
Posts: 1430
Joined: 2002 Jun 04, 07:01

Post by narayan »

most likely not, since the request has been sent out already
I didn't mean that I'll issue CTRL+D and then ALT+J. I wanted to know if the CTRL+D command skips the folders that are hidden beforehand.

If not, then it is better to take some items to a scrap pane first and then check their sizes, as I suggested.
tutils
Member
Member
Posts: 41
Joined: 2005 Jan 25, 13:15

Post by tutils »

Isn't there a way to stop the thread when the main window is closed? I'm pretty sure it's possible programmatically. :wink:
User avatar
nikos
Site Admin
Site Admin
Posts: 16401
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

if you close the window everything goes back to lapland :)
i though you were looking for a "soft" way to stop it
tutils
Member
Member
Posts: 41
Joined: 2005 Jan 25, 13:15

Post by tutils »

nikos wrote:if you close the window everything goes back to lapland :)
i though you were looking for a "soft" way to stop it
That's exactly what I was saying in my first post (issue #2)... The thread keeps running even though the main window is closed.
User avatar
nikos
Site Admin
Site Admin
Posts: 16401
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

it must be in the middle of the request then
only when the current action is finished will the thread abort, cancelling all other pending requests