Scroll wheel not working with 65536 files
Moderators: Hacker, petermad, Stefan2, white
Scroll wheel not working with 65536 files
When a directory contains 65536 files or more, the scroll wheel suddenly stops working.
This might be related to a fixed bug in which the selection wrapped modulo 65536 in version 6.53 and earlier.
This might be related to a fixed bug in which the selection wrapped modulo 65536 in version 6.53 and earlier.
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately I couldn't find any hint in my code from where such a limitation could come.
Can you determine whether TC itself or the mouse driver scrolls the list, please?
Just add the line
IgnoreWheel=1
to your wincmd.ini section [Configuration].
Can you determine whether TC itself or the mouse driver scrolls the list, please?
Just add the line
IgnoreWheel=1
to your wincmd.ini section [Configuration].
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
With IgnoreWheel=1 it also refuses to scroll in the big directories.ghisler(Author) wrote:Unfortunately I couldn't find any hint in my code from where such a limitation could come.
Can you determine whether TC itself or the mouse driver scrolls the list, please?
Just add the line
IgnoreWheel=1
to your wincmd.ini section [Configuration].
Just to be sure, I tried IgnoreWheel=0. Same result.
ghisler(Author)
Some additions: this is reproduced in Full view, but is not reproduced in Brief view. Also, maybe, it needs using Branch mode.
Some additions: this is reproduced in Full view, but is not reproduced in Brief view. Also, maybe, it needs using Branch mode.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Forgotten limit ?
2ghisler(Author)
Good morning,
• Is it not a limitation of Windows about the number of files per folder ?
- I remember (vaguely…) to have read something like this ages ago, with exactly that value…
• Maybe M$ forgot to remove¦improve this in the newer Windows (2k¦XP…) ?
VG
Claude
Clo

• Is it not a limitation of Windows about the number of files per folder ?
- I remember (vaguely…) to have read something like this ages ago, with exactly that value…
• Maybe M$ forgot to remove¦improve this in the newer Windows (2k¦XP…) ?

Claude
Clo
Last edited by Clo on 2006-11-21, 23:35 UTC, edited 1 time in total.
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
I also think that it is a limitation of the listbox control. Like, isnt lParam in the WM_MOUSEWHEEL message simply an UINT, that is 16 bit long?rowkajjh2 wrote:I believe this is because the underlying windows-function (GetScrollPos() etc.) uses UINT (or something like that) and is therefor limited to 65536 positions.
I switched to Linux, bye and thanks for all the fish!
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
If it fails with IgnoreWheel=1, then TC doesn't even react to the wheel messages (just to listbox scroll messages). Therefore the bug is somewhere in Windows...With IgnoreWheel=1 it also refuses to scroll in the big directories.
Just to be sure, I tried IgnoreWheel=0. Same result.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com