Folder size shows 0 while being calculated

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

User avatar
IneedHelp
Gold Member
Gold Member
Posts: 612
Joined: 2010 Feb 04, 02:15
Location: MeanWhile City

Post by IneedHelp »

If it's a bug, then it's system specific since it doesn't happen to everyone.
User avatar
ScottWall
Bronze Member
Bronze Member
Posts: 87
Joined: 2006 Mar 23, 14:56
Location: Toronto

Post by ScottWall »

It happens on my XP machine at work and also at home on Windows 7.

It looks like it puts 0 for the size when it starts calculating and then drops in the actual value when it stops calculating. It also does some caching on repeated ctrl-d attempts so it may not be obvious.

To duplicate, try doing it on a folder that has a few huge folders with lots of files.
User avatar
IneedHelp
Gold Member
Gold Member
Posts: 612
Joined: 2010 Feb 04, 02:15
Location: MeanWhile City

Post by IneedHelp »

As I mentioned a few posts back, I do not encounter this issues. To me it displays <folder> until it calculates the actual size of a folder. The same goes for the other two computers (all Windows, but different versions).

So if it doesn't happen to me, but it happens to you and others, there's clearly something triggering (or stopping) this behavior. If you can, try it on a fresh virtual computer having installed the same OS as your host machine and see if x2 behaves the same. May reveal the answer the to this problem.
appyface
Silver Member
Silver Member
Posts: 239
Joined: 2005 Jun 11, 16:48

Post by appyface »

@INeedHelp

In my case I have many hundreds of large size (GB's) files in hundreds of folders, and though the overall responsiveness of my systems is quite good, x2 can take upwards of five minutes or more to calculate folder size, if it finishes.

I have seen this issue on several x2 versions and several system installations, including fresh OS installs.  The issue is always there on systems with large data volumes.  Is it possible the difference you're seeing is due to less data volume on your system, so x2 finishes much more quickly for you and never exposes this problem?
User avatar
IneedHelp
Gold Member
Gold Member
Posts: 612
Joined: 2010 Feb 04, 02:15
Location: MeanWhile City

Post by IneedHelp »

I tested on 1.5 and 2 TB drives which are 75-95% full, but that's irrelevant because even if I test it on  folders storing tens or hundreds of GBs, I can still see the <folder> indicator in the Size column until it actually gets calculated. Here's an example:

At this point x2 was calculating folder sizes and they were all displaying <folder> in the Size column:
Image

This one is after it finished calculating sizes about 1 minute later:
Image

And the _root folder is indeed empty, but it didn't display 0 until it actually got scanned immediately after the other folders.

Here's another example showing intermediate states:

Image
and
Image

The first screenshot was taken while TEMP was being calculated and the 2nd while www was being calculated.
appyface
Silver Member
Silver Member
Posts: 239
Joined: 2005 Jun 11, 16:48

Post by appyface »

I'm curious, what do you see if you issue CTRL-D a couple of times in succession, instead of just once?
User avatar
IneedHelp
Gold Member
Gold Member
Posts: 612
Joined: 2010 Feb 04, 02:15
Location: MeanWhile City

Post by IneedHelp »

I have to admit I never did that. I either clicked the toolbar button once or used Ctrl+D once. Now I tried Ctrl+D multiple times and it indeed displays 0 but only for the folder being calculated, the rest still display <folder>. And after it gets calculated, 0 is replaced with the actual size of the folder.
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

For me, on my XP box, the issue is most significant when viewing the My Computer "folder".  
There folder sizes are listed as 0 until size calculations finish, one at a time.  
And, in other folders, with especially large sub-folders, the listed "size" changes from <folder> to 0 while that sub-folder size is being polled.
appyface
Silver Member
Silver Member
Posts: 239
Joined: 2005 Jun 11, 16:48

Post by appyface »

Whether we routinely experience the issue, or not, can we all agree -0- for intermediate result is not wise?  It is misleading at best, and at worst case it can lead to accidental data loss and perhaps permanently if person does not have a backup.    (@ScottWall I too have done the same -- lost folders full of files because x2 showed me -0- for size.  Network drive, no recycle bin, data is gone... until I could restore from backup.)

Nikos can we have some other intermediate display, one that indicates the calc is in progress?  Something that cannot be mistaken for x2 being idle or for a real result of a calc?
User avatar
IneedHelp
Gold Member
Gold Member
Posts: 612
Joined: 2010 Feb 04, 02:15
Location: MeanWhile City

Post by IneedHelp »

appyface wrote:can we have some other intermediate display, one that indicates the calc is in progress?  Something that cannot be mistaken for x2 being idle or for a real result of a calc?
Yes, it's called DriveGleam

Image

and I've been using it for years, lots of years. The best tool for monitoring HDD activity, and I also use it to monitor CPU and RAM load. Light green means read activity while light red means write activity. Dark green and red means no activity (on a certain partition).

Image

My settings actually look like this:

Image
appyface
Silver Member
Silver Member
Posts: 239
Joined: 2005 Jun 11, 16:48

Post by appyface »

Since that does not fix x2, not relevant to post that in response to my request.  I'm glad you like the product, but x2 is misleading and potentially causes disruption and data loss for some of the people who use it.  nikos *recommended* I use CTRL-D, but it is not reliable... let's make it reliable.
User avatar
IneedHelp
Gold Member
Gold Member
Posts: 612
Joined: 2010 Feb 04, 02:15
Location: MeanWhile City

Post by IneedHelp »

Yeah, I completely agree that DriveGleam is not related to x2, but it is a relevant response to your request since it's a reliable way of telling if x2 is idle or actually doing file read activity.

Regarding the x2 folder size calculation issue... it's hard to say if it's genuinely an x2 bug or not because it either occurs all the time on some systems or none at all on other systems, unlike the recent search bug which people seem to randomly encounter.

I also asked a couple of friends of mine to check this as well, and they don't have this problem either.
appyface
Silver Member
Silver Member
Posts: 239
Joined: 2005 Jun 11, 16:48

Post by appyface »

If x2 doesn't use -0- that would fix it for EVERYBODY, no matter you want to call it a 'bug' or not...

And that's my entire point (WHICH KEEPS GETTING LOST IN HERE)
User avatar
neko
Bronze Member
Bronze Member
Posts: 81
Joined: 2005 Oct 24, 12:32
Location: Finland

Post by neko »

I definitely agree. I wonder why it is so hard to understand...
User avatar
IneedHelp
Gold Member
Gold Member
Posts: 612
Joined: 2010 Feb 04, 02:15
Location: MeanWhile City

Post by IneedHelp »

I'm not trying to defend a bug here- it's in my best interest to have x2 issues fixed as well, but from my point of view, x2 isn't using 0 to display folder size while it is being calculated, it just displays <folder>.

So I don't know what makes you think that changing '0' for something else would fix the issue. I don't see '0', I see <folder>. I only see '0' if the folder is empty (meaning containing no files at all or 0 bytes files) or if I press Ctrl+D repeatedly (which isn't something anyone would normally do, I'm guessing).

What I'm saying is that we should find the cause- what makes it display 0 while folders are calculated on some systems and what makes it display <folder> on some other systems.

Again, don't get me wrong. If I were you, I would've been frustrated/annoyed as well and wished this fixed, but I don't think that changing 0 for some other indicator is the solution, because there's already a different indicator for not yet calculated folders: <folder>
Post Reply