Xpra: Ticket #1390: osx trackpad sends too many events with HTML5 client

See ticket:1341#comment:15: OSX laptop tracpad events result in dizzyingly & unmanageably fast scrolling (something about the tracpad sending more events with a smaller delta, apparently)

Fri, 10 Mar 2017 14:10:02 GMT - Antoine Martin: owner changed

Tablet devices should be handled much better than before.

We normalize the wheel event values using the facebook code found here: normalizeWheel.js : r15253. And we try to send one event for each javascript wheel event we receive, unless those are very coarse or fine grained (from a tablet?): r15255.

With debug enabled, the Javascript console shows that on Linux I'm getting a delta of 120 per event with Firefox, and ~156 for google chrome.. We'll be able to handle this a lot better once we implement extended input device support (#173)


@afarr: I don't have the required hardware to test.

Thu, 20 Jul 2017 00:51:58 GMT - alas: status changed; resolution set

Testing against a fedora 25 2.1 r16421 server, with OSX 10.12 laptop (with tracpad) using chrome 57 (still running old version in case of need to test some more certs?).

Tracpad behavior is very well handled. Couldn't tell any difference in scrolling handling vs. a mouse with a windows 7 html5 client.

I do notice some tearing/'striping' at times when scrolling though (I know, for another ticket) as well as an issue when I hit a ping timeout and the client reconnected - it ran into 'invalid packet type' error (already made #1586 for this issue).

This one looks good though. Closing.

Sat, 23 Jan 2021 05:22:56 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1390