[solved] Slow scrolling of Unicode files in Lister (64bit)

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

Moderators: white, Hacker, petermad, Stefan2

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

[solved] Slow scrolling of Unicode files in Lister (64bit)

Post by *petermad »

On slow pc's with slow operating systems (Win 8 and 10) there is a delay in scrolling Unicode and UTF-8 files (they do not scroll in real-time) with 64bit TC but not with 32bit TC.

See more at: http://ghisler.ch/board/viewtopic.php?p=340091#340091

This also applies to TC 9.52a 64bit
Last edited by petermad on 2021-05-30, 11:32 UTC, edited 1 time in total.
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
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No problem here - my PC is from 2010, so not the fastest, but I don't have any scrolling problems. Mybe it's caused by some third party tool, e.g. coming with the mouse?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I am using Microsofts default driver for the mouse - nothing special. And it is only the 64bit version of TC that is affected - I guess if it was a mouse driver problem it would be seen in both TC versions.

I testet with a clean ini file too, so it is not any special setting that causes it.

When I test, I scroll down turning the wheel 3-4 times quickly one after the other, and when I release the wheel, I se scrolling going on for like ½ a second thereafter. If I just scroll slowly one wheel-turn at the time, I don't experience the problem.
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
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

I can actually confirm this: definitely a slower scroll speed in x64 TC than in 32-bit.
Tested on Win7 x64, no special mouse drivers.
It doesn't matter if I enabled "Smooth scroll list boxes" or not.

I guess it's a Uniscribe/Lazarus related issue.
TC plugins: PCREsearch and RegXtract
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I couldn't reproduce this so far. Do you have a sample file to test it?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Do you have a sample file to test it
Just export you entire Windows Registry to a .reg file - that is what I testet with - as mentioned here: http://ghisler.ch/board/viewtopic.php?p=340091#340091
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
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I tried with a registry file, 240MB large. However, I cannot see the slightest difference between TC 32-bit and 64-bit. Scolling is immediate in both.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It is not whether the scrolling starts immediately it is whether it stops immediately.

It is when I make severalt continous turns with the whell, then the scrolling can't keep up, and then when I release the wheel, I see scrolling still taking place for maybe ½ a second, before the scrolling stops.

And only in 64bit TC and more pronounced on slow computers with more demanding OS's (windows 8 or 10).
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
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, I see - I think I found a solution: Currently when TC gets one mouse wheel message, and the scroll lines per message is 3 (the Windows default), TC sends 3 WM_VSCROLL messages to itself. Combining the 3 into my own custom scroll message which scrolls 3 lines in one step seems to fix the problem. Please test once beta 2 comes out.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC 9.20b2 :-)
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
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Nice to hear that! I could only reproduce the problem by giving the mouse wheel a big "kick" with a finger.
Author of Total Commander
https://www.ghisler.com
Post Reply