Mouse scroll not working in Full view

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
Asmix
Junior Member
Junior Member
Posts: 9
Joined: 2007-05-26, 20:19 UTC

Mouse scroll not working in Full view

Post by *Asmix »

Mouse scroll not working in Full view with files count over 65533 (Windows XP SP3, TC 9.12)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately this is a limit of the Windows Listbox control, not Total Commander.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

2ghisler(Author)
In this post it was menitoned that listview control doesn't seem to have such limit. Have you considered a possibility to replace a listbox with listview?

In next post of mentioned topic there was also a suggestion to solve this by a catch of WM_MOUSEWHEEL event internally by TC. Did you try it? If yes, can you share a reason why it is not implemented in TC?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Listview was too slow in my tests a long time ago.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

2ghisler(Author)
Now when this topic is in "Behaviour which will not be changed" subforum, there is still unanswered question: did you try to fix the issue using this suggestion? If yes, what results did you get?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
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 I didn't. There is a big danger that this will cause a lot of new problems, e.g. for a mouse with 2 wheels, for touchpad scrolling, when the user changed the number of lines per scroll, or for vendor-specific mouse drivers.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Well, you could add it as a feature disabled by default (and enabled only via wincmd.ini). It has been requested in 2003, so if implemented then, today almost all possible problems would be either known (and documented) or fixed.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
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 just tested it, and mouse scrolling DOES work here both in Windows 7 and 10 with 68607 files in one directory, both in TC 32-bit and 64-bit. So apparently Microsoft fixed the bug themselves...
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

For a number of items you tested I can confirm mouse wheel scroll works on Vista, but NOT on Windows XP Home (both 32-bit, tested file panel (details view), SyncDirs, MRT).
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Since it's a minor problem and XP is out of support, I think I can leave it as it is now.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

It would be nice to know whether some listbox items limit for mouse wheel scroll exists on Vista+...
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Probably 2^31 (32-bit signed), but you will never reach that.
Author of Total Commander
https://www.ghisler.com
Post Reply