|Anonymous | Login||01-20-2022 16:48 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0003721||[Squeak] VM||minor||always||05-26-06 15:06||12-29-07 03:32|
|Summary||0003721: [FIX] Wheel Scrolling Misbehavior in Win32 with Genius Mouse Driver|
If using the mouse wheel with any of "Genius NetScroll[+] [Optical] Mouse", scrolling works only down, scrolling up causes 'shaking' and/or scrolls down.
All current win32 VMs (including Croquet) are affected .
In the "sqWin32Window.c" -> "MainWndProc", where the "WM_MOUSEWHEEL"
messages are translated to <ctrl-up> and <crtl-down> keystrokes (in
3.7.1 souces on line 0000218), the conditional expression is
"evt->charCode = (zDelta > 0) ? 30 : 31;", causing the zero to be
aligned as *negative* value.
The Genius driver in it's enhanced mode sends two messages for every wheel movement - first with maximal (+-120) and second with minimal zDelta-value, but the driver treats *zero* as the minimal positive value (-1 is the negative).
That may be also considered a bug, but the the fact is - zero *should
be* ever aligned as positive.
This can be easily fixed by reversing the condition to:
"evt->charCode = (zDelta < 0) ? 31 : 30;"
I'm using a fixed VM for several months and it works all right.
Attached is the fixed file from 3.7.1 sources.
|Attached Files||sqWin32Window.c.gz [^] (22,952 bytes) 05-26-06 15:06|
(0005083 - 165 - 171 - 171 - 171 - 171 - 171)
I did't expect how the report form handles the $# character, there should be only a hint the line nuber is 218;
this issue has nothing to do with croquet bug 0218.
|05-26-06 15:06||VSV||New Issue|
|05-26-06 15:06||VSV||File Added: sqWin32Window.c.gz|
|05-26-06 15:07||VSV||Issue Monitored: VSV|
|05-26-06 15:13||VSV||Note Added: 0005083|
|07-13-06 07:51||tim||Status||new => assigned|
|07-13-06 07:51||tim||Assigned To||=> tim|
|09-14-07 00:08||tim||Relationship added||child of 0006671|
|12-29-07 03:32||tim||Assigned To||tim => andreas|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
46 total queries executed.|
33 unique queries executed.