Passed: OpenSmalltalk/opensmalltalk-vm#1907 (201912311458 - f219b72)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Passed: OpenSmalltalk/opensmalltalk-vm#1907 (201912311458 - f219b72)

Travis CI
 

OpenSmalltalk

/

opensmalltalk-vm

branch icon201912311458

arrow to build time
clock icon2 hrs, 49 mins, and 48 secs

Nicolas Cellier avatarNicolas Cellier

Fix the sign of x wheel events in OSX to be inline with "natural scrolling" preference.

- The VM should generate positive deltaX for Left to Right trackpad motion
- The VM should generate positive deltaY for Bottom to Up trackpad motion

For historical reasons, if VM does not send mouse wheel events, but fake keyboard arrow events, then:

- The VM should generate a left arrow key for Left to Right trackpad motion
- The VM should generate a bottom arrow key for Bottom to Up trackpad motion

Not that the preferred direction preference of OSX is taken into account by the VM
See https://developer.apple.com/documentation/appkit/nsevent/1525151-isdirectioninvertedfromdevice
Above description is for "natural scrolling" preference (the trackpad does drag the screen contents).
It will be inverted if the preference is unset (the trackpad does drag the scroll bar).

Note that the `isFlipped` method of the Cocoa/Quartz view presumably ha an impact on sign of vertical motions
See https://developer.apple.com/documentation/appkit/nsview/1483532-isflipped
OpenSmalltalk VM does use isFlipped YES.

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you!

SIGN UP HERE
book icon

Documentation about Travis CI

<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "EmailMessage", "action": { "@type": "ViewAction", "url": "https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/633351751?utm_medium=notification&amp;utm_source=email", "name": "View Build" }, "description": "View Build #1907 on Travis CI" } </script>