8b08_x32: Counting folder-size (by <space>) doesn't wo

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

tvgeloof
Junior Member
Junior Member
Posts: 6
Joined: 2011-11-06, 22:37 UTC

8b08_x32: Counting folder-size (by <space>) doesn't wo

Post by *tvgeloof »

I spotted this on Beta 8, 32-bit.
(I currently don't have any 64 bit system around to test with.)

Select a folder. Press <space> to let TC calculate the size of the content.
The "Size" column chances into a "?" as usual but nothing else happens.

This was still working in Beta 6 (I skipped 7).
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I cannot reproduce that with the 32bit version.

But when I wanted to test it with the 64bit version I could not select files or folders with <space> at all - hence no calculating of space either.

After a restart of TC 8.0b8 x64 it worked again and I have not since then been able to reproduce the non working <space> for selection.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
siealex
Senior Member
Senior Member
Posts: 304
Joined: 2009-03-22, 16:36 UTC

Post by *siealex »

Select a folder. Press <space> to let TC calculate the size of the content.
Did you try to wait about 1 minute after pressing space?
We are not so S.M.A.R.T. as we imagine...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

What folder did you try to count? Maybe it had some infinite loop inside (hard link/junction pointing to parent directory or so).
Author of Total Commander
https://www.ghisler.com
tvgeloof
Junior Member
Junior Member
Posts: 6
Joined: 2011-11-06, 22:37 UTC

Post by *tvgeloof »

This is weird. :?:
I had the issue yesterday after upgrading from Beta 5 to 8. Restarted TC several times.
Also logged out and back in again in Windows several times.

Now I try to reproduce it again and I can't.

No chances to the computer since last night. I left it running on a big download yesterday evening.
I did close TC yesterday and started it again this evening when I got back from work.

Must have been some temporary glitch.

Forget about it for now. I will report back to the forum if I find this wasn't an isolated incident.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

What folder did you try to count? Maybe it had some infinite loop inside (hard link/junction pointing to parent directory or so).
When I experienced the bug (only once so far) it was ALL folders and files that couldn't be selected with space, but as I wrote: after restart of TC there was nothing wrong.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
lsgdcity
Junior Member
Junior Member
Posts: 34
Joined: 2008-11-10, 07:51 UTC

Post by *lsgdcity »

Same here with b8 on x64.
I started TotalCommander a second time and getting size via space works well. First time it shows me only question marks.

@ghisler: I will hibernate my computer till tomorrow and I don't close TC. Is there a way to log something for you?
The folders aren't special. It's for example C:\temp and temp is a real directory and contains nothing.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

First time it shows me only question marks
Here I didn't even get the question mark, nor did the color of the filename change to selected state - simply nothing happened - the cursor didn't even move to next file (I have SpaceMovesDown=1). It was like something caught the keypress before it got to TC.

---------------------------

2dq13r9b9

You cannot buy chopsticks here ;-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The thread which is calculating the folder size is also used for extracting icons and other background stuff. Sometimes loading an icon can take several minutes, e.g. for huge self-extracting EXE files with certain virus scanners (they scan the entire file and all files in the archive just when trying to extract the icon). The thread is busy during that time, and cannot count directories.
Author of Total Commander
https://www.ghisler.com
lsgdcity
Junior Member
Junior Member
Posts: 34
Joined: 2008-11-10, 07:51 UTC

Post by *lsgdcity »

I tried this for many different folders, even empty folders etc.
I also hibernated my computer two times.

This error occured every time without any exceptions, the size for every directory were always a question mark.

I don't think that the thread was busy all the time after I rewaked my computer from hibernate.

And icons for different files were loaded normally, so I think the thread worked all the time.

I shut down my computer yesterday and since then I couldn't reproduce the bug.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

And icons for different files were loaded normally, so I think the thread worked all the time.
Also for EXE/LNK files? Only files with individual icons per file are handled in the background thread. Icons which are the same for all files with a certain extension are loaded in the foreground.
Author of Total Commander
https://www.ghisler.com
lsgdcity
Junior Member
Junior Member
Posts: 34
Joined: 2008-11-10, 07:51 UTC

Post by *lsgdcity »

Hi,

I visited my installations folder with many exe files in it, because I had to reinstall an application.
As I can remember, all icons were loaded normally.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I have no idea then. Maybe a settings problem? Could you try with a fresh wincmd.ini?
Author of Total Commander
https://www.ghisler.com
lsgdcity
Junior Member
Junior Member
Posts: 34
Joined: 2008-11-10, 07:51 UTC

Post by *lsgdcity »

Hi,

this bug didn't appear at me since the first time.
I replaced my wincmd.ini with a new one, set AlwaysCopyInBackground=2 directly and changed all other parameters via the setttings dialog.

Maybe the bug will appear once again, hopefully it does not.
But the workaround is as easy as it could be ;-)
digitaldog4
Junior Member
Junior Member
Posts: 16
Joined: 2011-11-28, 23:33 UTC

Post by *digitaldog4 »

In my case directory size counting stops working after couple uses of F5_Copy->F2_queue. Just start TC (I start it as administrator, maybe that helps), copy one directory using F5, F2. Use large enough directory to be able to select and F5,F2 another one while the first is still being copied. Repeat as many times as needed, once in a while try LALT-LSHIFT-Enter and suddenly you'll see that it doesn't count sizes anymore. I did not change any single setting for quite a long time, so I think it's not a settings problem. And I use LSHIFT-LALT-Enter very often, I'm sure it worked yesterday or a day before ;)

[EDIT] Checked TC in non-admin mode. Copying two times one directory of about 400 MB using queue mode caused dir size counting to stop working.

[EDIT] My version is 8.0 beta 10.
Post Reply