[TC 10 b9] Find Files dialog is noticeably slow to open and flickering

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
yyang
Member
Member
Posts: 155
Joined: 2007-03-27, 11:41 UTC
Location: China

[TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *yyang »

The Find File dialog feels slow to open, and it's easy to notice the dynamic layout of controls when opening Search and switching between tabs.

Possibly due to this change since b8:

06.05.01 Fixed: Standalone search dialog could be scaled incorrectly on Windows 10 if OverrideDpi was set while using a main screen with different dpi (32/64)
Last edited by yyang on 2021-05-07, 08:03 UTC, edited 2 times in total.
#147523
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b9] Search dialog is noticeably slow to open and flickering

Post by *ghisler(Author) »

This fix was only for "Search in separate process".

Do you mean that only "Search in separate process" is slow, or also the internal search dialog?
Author of Total Commander
https://www.ghisler.com
User avatar
yyang
Member
Member
Posts: 155
Joined: 2007-03-27, 11:41 UTC
Location: China

Re: [TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *yyang »

Sorry, I meant the "Find files" dialog. It was my fault to carelessly translate the name back from the Chinese UI.

Image: https://i.postimg.cc/yd1dpYnX/Screenshot111.png

When it opens up, I can see the controls like "Search for" and "Search in" expand to fill the screen width. And when the 3rd tab "Plugins" is clicked, it's quite noticeable that the controls are gradually painted out, like what would happen with Windows 98 on an old and slow machine.
#147523
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b9] Search dialog is noticeably slow to open and flickering

Post by *ghisler(Author) »

It's probably because of this new option:
Configuration - Options - Font - Automatically adjust dialogboxes to larger fonts

Most other dialogs do the resizing while still hidden.
Author of Total Commander
https://www.ghisler.com
User avatar
yyang
Member
Member
Posts: 155
Joined: 2007-03-27, 11:41 UTC
Location: China

Re: [TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *yyang »

I disabled this option and tried again, but the effect is almost the same. I agree it's conceptually related, though.

Update: Now tried again on a desktop that is a lot faster than my laptop (but can't say the laptop is slow). The flickering is still easily noticeable (with or without the option), just a little shorter. In contrast, b8 works smoothly on both machines.
#147523
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *petermad »

On my slow laptop with Windows 10 - I can confirm that the loading of the "Find files" dialog takes longer time with TC 10 b9 than with TC 10 b8.

On my Window 7 computer the dialog is displayed immediately also in beta 9.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AntonyD
Power Member
Power Member
Posts: 1231
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *AntonyD »

as b5 so and b8 and b9 - all of them are noticeable slow(((
in compare with 9.x versions of TC...
I mean ALL betas of 10.xx are slow in this dialog...

win10 b17763.
#146217 personal license
User avatar
yyang
Member
Member
Posts: 155
Joined: 2007-03-27, 11:41 UTC
Location: China

Re: [TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *yyang »

On my Windows 10 machines b8 is snappy enough. But 9.5.1 has already works perfectly with 200% scaling for me. An option to completely disable this adjustment is more than welcome. My environment: Windows 10 64-bit 20H2 (19042.964), 2K screen with 200% scaling.

Update: After a comparison on virtual machines (where CPU speed can be controlled), it seems that b9 shows the Advanced tab before the General tab, which causes the uncomfortable flickering. 9.5.1 shows an empty (all-white) client area inside the dialog frame before revealing the General tab, which feels faster. The absolute time to fully load the controls is roughly the same when the option is turned off.

By the way, I think these edges are not yet properly aligned: Image: https://i.postimg.cc/ZYP5Dywt/Screenshot113.png
Last edited by yyang on 2021-05-09, 05:28 UTC, edited 1 time in total.
#147523
jiangzhenjerry
Junior Member
Junior Member
Posts: 58
Joined: 2016-01-15, 23:57 UTC

Re: [TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *jiangzhenjerry »

@yyang: I can confirm what you see - The Advanced tab indeed appears first before switching to the General tab. I didn't notice this until you mentioned it, as normally the computer is too fast to make it noticeable. I have to pay very close attention, or as you said limit the processing frequency.

BTW do you mean 4K (3840x2160) screen with 250% scaling? 2K with 250% scaling sounds like a 7''-8'' tiny tablet...
User avatar
yyang
Member
Member
Posts: 155
Joined: 2007-03-27, 11:41 UTC
Location: China

Re: [TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *yyang »

jiangzhenjerry wrote: 2021-05-09, 03:07 UTC BTW do you mean 4K (3840x2160) screen with 250% scaling? 2K with 250% scaling sounds like a 7''-8'' tiny tablet...
Hi, thanks for the confirmation, and nice catch! The resolution is 2K (2560x1440) indeed, but the scaling is 200% (fixed), on a 25'' DELL U2518D monitor. Larger fonts feel more relaxing to me than condensed text lines.
#147523
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *ghisler(Author) »

it seems that b9 shows the Advanced tab before the General tab
You are right, I changed something on the second tab and forgot to switch back to the first, so it loads with the second tab now and immediately switches to the first. I will fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
yyang
Member
Member
Posts: 155
Joined: 2007-03-27, 11:41 UTC
Location: China

Re: [TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *yyang »

Thank you very much, Christian.
#147523
User avatar
yyang
Member
Member
Posts: 155
Joined: 2007-03-27, 11:41 UTC
Location: China

Re: [TC 10 b9] Find Files dialog is noticeably slow to open and flickering

Post by *yyang »

I can confirm this issue is fixed in b10. Thanks!
#147523
Post Reply