solved [TC 11.50b1 x64] Slow restart with cm_Exit 9 under certain conditions

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

solved [TC 11.50b1 x64] Slow restart with cm_Exit 9 under certain conditions

Post by *petermad »

I noticed that restarting 64bit TC with the cm_Exit 9 command is considerably slower (3 times) with TC 11.50b1 than with TC 11.03.

Here are two videos to show the difference:
Restart with TC 11.03: https://tcmd.madsenworld.dk/restart1103.mp4
Restart with TC 11.50b1: https://tcmd.madsenworld.dk/restart1150.mp4

The two recordings are using exactly the same settings (I just replaced TOTALCMD64.EXE)

I have narrowed it down to be dependent on these two settings for icons:
"Show icons for special folders Normal file system"
"Show default folder/file icons from Explorer"

If I disable one or the other of these two options the restart speed is as it used to be.

Also with the two options enabled, restarting is much faster if the directories in the panels only show normal folders and files.

Notice that it is only restart with cm_Exit 9 that is slow. Starting TC normally, after it is closed down, is not prolonged.
It is also only the 64bit version of TC the is affected.

My guess is that it could be caused by this fix:
history.txt wrote:26.02.24 Fixed: If possible, use LoadImage instead of ExtractIconEx to load 16x16 icons for file associations, to avoid blurry icons when the default small icon size isn't 16x16 (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 5964
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.50b1 x64] Slow restart with cm_Exit 9 under certain conditions

Post by *white »

Probably caused by this:
ghisler(Author) wrote: 2024-10-11, 10:06 UTC
uncheck:Show default folder/file icons from Explorer
That did the trick for me, thanks! It's caused by the new function to set custom folder icons via internal associations. I will fix it.
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50b1 x64] Slow restart with cm_Exit 9 under certain conditions

Post by *petermad »

2white

Maybe, but I don't have the cursor blinking problem...?
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 5964
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.50b1 x64] Slow restart with cm_Exit 9 under certain conditions

Post by *white »

petermad wrote: 2024-10-11, 19:23 UTC Maybe, but I don't have the cursor blinking problem...?
The blinking problem occurs in 32-bit TC only, but I think the same thing also causes high CPU usage for both versions as mentioned in another thread.
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50b1 x64] Slow restart with cm_Exit 9 under certain conditions

Post by *petermad »

2white

I hadn't been able to reproduce the blinking cursor until now, where I disabled using inverted cursor
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
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: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50b1 x64] Slow restart with cm_Exit 9 under certain conditions

Post by *ghisler(Author) »

Please check whether this is still a problem in 11.50 beta 2, please check!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50b1 x64] Slow restart with cm_Exit 9 under certain conditions

Post by *petermad »

It seems to be fixed in TC 11.50b2 - maybe a tiny bit slower restart than with TC 11.03

Moderator message from: petermad » 2024-10-17, 00:56 UTC

Moved to "TC fixed bugs" from "TC11.x bug reports (English)"
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply