Slow (delayed) dialogs on TC 10.5

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
RandomMarius
Junior Member
Junior Member
Posts: 12
Joined: 2011-10-28, 18:51 UTC

Slow (delayed) dialogs on TC 10.5

Post by *RandomMarius »

I have had this issue since 10 where several dialogs have delayed refreshes. Example; Alt-F7 takes over a second to show.

I have tried running clean INI: c:\appl\totalcmd\totalcmd64.exe /n /I=.\fresh.ini

I have switched off all Visual Effects (in Performance Options) in Windows 10.

I have tried it on either of my dual displays.

I have gone to the AMD Radeon RX 6600 display options and changed refresh rate from 100 to 60, color depth from 10bbc to 8bpc, but to no avail.

Anyone else have this issue?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Slow (delayed) dialogs on TC 10.5

Post by *ghisler(Author) »

Do you use any third party virus scanner?
Author of Total Commander
https://www.ghisler.com
RandomMarius
Junior Member
Junior Member
Posts: 12
Joined: 2011-10-28, 18:51 UTC

Re: Slow (delayed) dialogs on TC 10.5

Post by *RandomMarius »

I don't, only the default installed in Windows 10. I'm wondering if it is trying to do some kind of network lookup? Or windows domain controller action?
It should not, I'm not connected to one... using a local account.

However I do have a WireGuard VPN installed which I need for work.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Slow (delayed) dialogs on TC 10.5

Post by *ghisler(Author) »

Could you try to add the file wincmd.ini to the exclude list in Windows Defender? You can find its location via menu Help - About Total Commander (Ctrl+C works there).
Author of Total Commander
https://www.ghisler.com
RandomMarius
Junior Member
Junior Member
Posts: 12
Joined: 2011-10-28, 18:51 UTC

Re: Slow (delayed) dialogs on TC 10.5

Post by *RandomMarius »

It's Windows Security on Windows 10 (Windows Defender is the firewall), but I found the same exclusion setting and added the full path to the ini. Then restarted TC, but no change.

I have however noticed that soon after I log in, things are significantly faster... it seems to become slower and slower the more applications I open up.
I cannot pin it to a particular app either, it just seems to become slower and slower as I open more apps.
.
What I have open in the end:
* two Profiles in Chromium Edge with a total of about 50 Tabs.
* Two Instances of Visual Studio 2022
* Tidal Music Player
* Slack
* Signal + WhatsApp Desktop desktop web apps
* Visual Studio Code
* Several terminal windows (running git, bash, ssh)
* Wireshark
* LINQPad 7
* 1Password Password manager

And then of Course... always Total Commander :)

After it becomes slow, if I close all the apps it is fast again.

And when I say fast, the Alt-F7 dialog takes about 100-400ms to pop up. When it's slow, it's 1-2s

I've also disconnected my secondary monitor and moved my taskbar to the bottom. (since TC dialog positioning seems to be weird sometimes on large/multiple displays)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Slow (delayed) dialogs on TC 10.5

Post by *ghisler(Author) »

Do you see any high CPU usage for other apps in task manager (Ctrl+Shift+ESC, more details)?
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1448
Joined: 2004-07-08, 08:58 UTC

Re: Slow (delayed) dialogs on TC 10.5

Post by *JOUBE »

RandomMarius wrote: 2022-06-27, 19:16 UTC What I have open in the end:
...
Wow, that's a lot. Are debuggers on? The main question: How much RAM?
RandomMarius
Junior Member
Junior Member
Posts: 12
Joined: 2011-10-28, 18:51 UTC

Re: Slow (delayed) dialogs on TC 10.5

Post by *RandomMarius »

No debuggers on, was not actively using Visual Studio (only had it open for this test) nor was I running GDB at the time.

Process Explorer reports only about 5% CPU usage.

I'm running an older Intel Core i7 6950X (10 Core, 20 threads) with 64GB of DDR4 RAM.
My graphics card is an AMD Radeon RX 6600.

I have however installed .NET SDK 6.0.300 and .NET Runtime 6.0.5.

All running 64bit versions (the only threads that are 32bit are from Visual Studio sub-modules)

Anecdotally I think that Web-Based/CSS apps seem to make the biggest difference. Tidal, Signal, WhatsApp, Visual Studio Code. but that may just be expected. (but they don't register as using CPU or IO and are idle by all accounts)
siealex
Senior Member
Senior Member
Posts: 278
Joined: 2009-03-22, 16:36 UTC

Re: Slow (delayed) dialogs on TC 10.5

Post by *siealex »

Does your Alt-F7 window use a separate process?
We are not so S.M.A.R.T. as we imagine...
RandomMarius
Junior Member
Junior Member
Posts: 12
Joined: 2011-10-28, 18:51 UTC

Re: Slow (delayed) dialogs on TC 10.5

Post by *RandomMarius »

Can't see that it uses a separate process.

But I'm starting to think it must be something installed on this machine. I feel that other processes are also slowing down, but then they are all inefficiently written... would not have expected the Alt-F7 to take 1-2 seconds to open. Seems to be a problem with most TC dialogs.

But since this problem does not seem to happen on another of my PCs, I'm going to chalk it up to some bug on the machine.

Thanks for the effort!
siealex
Senior Member
Senior Member
Posts: 278
Joined: 2009-03-22, 16:36 UTC

Re: Slow (delayed) dialogs on TC 10.5

Post by *siealex »

Today I noticed that Alt-F7 also takes about 1 second to open. But I am not sure if this is new in 10.50.
We are not so S.M.A.R.T. as we imagine...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Slow (delayed) dialogs on TC 10.5

Post by *ghisler(Author) »

You can try to turn off the option to scale dialog boxes automatically with the font in Configuration - Options - Font. But then you need to choose a font size not larger than about 8..10 (depending on the font), otherwise the texts may be cut. This feature has existed before version 10.50, though.
Author of Total Commander
https://www.ghisler.com
Post Reply