Hi again
Problem has been on Windows VM side and has been fixed today. So since today's Windows VM (VM Windows 396 / 05.12.2014 08:29) mouse wheel works even on Windows.
Jan Blizničenko
Jan B. wrote
Thanks for this finding. It seems like problem in Pharo itself, so I reposted this problem to Pharo-users mailing list. http://forum.world.st/Mouse-wheel-scrolling-not-working-right-on-Windows-td4...
Jan akevalion wrote
I checked this and I see that there is an error with:
HandMorph>>#generateKeyboardEvent:
in this piece of code:
(type = #keystroke and: [(buttons anyMask: 16) and: [*charCode *= 30 or: [*charCode *= 31]]]) ifTrue: [^MouseWheelEvent new setType: #mouseWheel position: lastMouseEvent cursorPoint direction: (charCode = 30 ifTrue: [#up] ifFalse: [#down]) buttons: buttons hand: self stamp: stamp].
The value for *charCode* is 0, that is the reason why MouseWheelEvent does not work in Roassal2 in Windows. Instead of MouseWheelEvent the KeyboardEvent is used.
*Note:* *keyvalue* has the value 31.
Maybe there is and error with Sensor class in Windows
Cheers, Milton
Moose-dev mailing list
Moose-dev@.unibe
-- View this message in context: http://forum.world.st/Roassal2-RTZoomableView-not-working-on-Windows-tp47866... Sent from the Moose mailing list archive at Nabble.com.