[Vm-dev] Failed: OpenSmalltalk/opensmalltalk-vm#1892 (win_generate_mouse_wheel_events - b982355)

Travis CI builds at travis-ci.org
Thu Dec 26 21:01:03 UTC 2019


Build Update for OpenSmalltalk/opensmalltalk-vm
-------------------------------------

Build: #1892
Status: Failed

Duration: 17 mins and 10 secs
Commit: b982355 (win_generate_mouse_wheel_events)
Author: Nicolas Cellier
Message: Deliver mouse wheel events only once they reach a threshold

On some devices (example Mac trackpad), many events are generated with small deltas.
This is overwhelming the EventSensor loop at image side to the detriment of user experience.
Workaround by letting the VM accumulate those deltas until they reach a threshold before delivering.

In case of high delta values, we generate a single value.
It's up to image side to handle those values
(until now, Squeak 5.3 just ignored them, VM is not to be blamed for that).

Note: 2 values are hardcoded for now
- the timeout for stopping accumulation (500ms)
- the threshold for delivering the event to the image.

The threshold could have been WHEEL_DELTA, but it gives bad sensitivity on my own device, so use only a fraction of that in the hope that it fits other devices too.
Please report if those tuning are inappropriate. We may add parameters in the future if necessary...

View the changeset: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/95e821968134...b982355886cf

View the full build log and details: https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/629774919?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the OpenSmalltalk/opensmalltalk-vm repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=8795279&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20191226/298a9d18/attachment-0001.html>


More information about the Vm-dev mailing list