[x64] Wrong mouse wheel scrolling in Lister

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

[x64] Wrong mouse wheel scrolling in Lister

Post by *Sob »

Simple text file is opened in Lister. No problem in TC32, but in TC64's Lister scrolling by mouse wheel felt somehow strange. Closer examination revealed that Lister in TC32 respects settings from system mouse properties and always scrolls by the given number of lines (3 in my case). Lister in TC64 does not. It's still influenced by system settings (different values make it scroll by different number of lines), but the result is wrong. E.g. for set 3 lines it scrolls semi-randomly by 3-6 lines (it's different for individual files, but stays same for same files).

Windows 7 x64, both Classic and Aero themes, clean ini, both TC beta 1 and 2.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Not confirmed here. Anyone else having this problem?
Author of Total Commander
https://www.ghisler.com
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

Test file with added line numbers for easy counting:

http://web.hisoftware.cz/sob/download/tc80b2x64-lister-wheel-scroll-bug-test-file.txt

System mouse wheel scrolling is set to 3 lines. When scrolling one step by one using the wheel, the line numbers are:

TC32: 001, 004, 007, 010, 013, 016, 019, 022, 025, 028, 031, 034, ... (correct)
TC64: 001, 005, 010, 014, 018, 026, 034, 040, 050, 054, 058, 066, ... (jumps from 4 to 10 lines)

The amount of lines scrolled is always the same for same file, but it's different for others, so it must depend on file content somehow. It wouldn't be a problem if it was just different number of lines, as long as the number would be the same for whole file. But when it varies, it makes the scrolling very unpleasant, you never know by how much it will move.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I can't reproduce it even with your test file (Windows 7 x64, standard Aero theme).

Can anyone else reproduce it?
Author of Total Commander
https://www.ghisler.com
Gerby
Junior Member
Junior Member
Posts: 93
Joined: 2005-01-07, 16:11 UTC
Location: DE > SH > SE

Post by *Gerby »

Hi!

I actually can reproduce the behavior with the test file.

Here: TC 8.0 ß2 x64, Win 7 Ultimate x64, no special mouse driver (Microsoft, 2006-06-21, v6.1.7600.16385)

Greetings
Gerby
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can confirm that the test file provided scrolls further with for example turning the wheel 3 "bumps" in the x64 version than in the x86 version.

This is with KatMouse disabled. With KatMouse enabled, both versions scroll the same amount as the 32bit version without katMouse.

Standard Windows mouse driver (HID compatible mouse).
Last edited by petermad on 2011-09-26, 20:18 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Flint
Power Member
Power Member
Posts: 3505
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

ghisler(Author)
I confirm it too, XP x64 SP2, TC 8.0β2 x64.
In my case each wheel's "tick" sometimes causes scrolling by very large number of lines: 1 page or more. Tested in Text, Binary and Hex modes.

No KatMouse or similar software is installed. In TC 8.0β2 x32 scrolling works correctly.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I still cannot confirm it, but I found a possible reason: TC tries to handle scrolling AND also lets Windows handle it. I have changed that now in beta 3. Are you still able to confirm the problem?
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3505
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

ghisler(Author)
Seems to be fixed now.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

Great! Good old reliable scrolling is back, what a relief. :) In other words, fix confirmed.
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC 8.0b3 x64 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Nice to hear that, thanks for checking!
Author of Total Commander
https://www.ghisler.com
Post Reply