xpra icon
Bug tracker and wiki

Opened 3 weeks ago

Last modified 24 hours ago

#1797 new task

precise wheel event for the html5 client

Reported by: Antoine Martin Owned by: J. Max Mena
Priority: major Milestone:
Component: html5 Version: 2.2.x
Keywords: Cc:

Description

Follow up from #1611.

Change History (3)

comment:1 Changed 3 weeks ago by Antoine Martin

Owner: changed from Antoine Martin to J. Max Mena

Done in r18920, the html5 client will now trigger precise scroll events if the server has uinput enabled:

UInput.wheel_motion(4, 0.5740) REL_WHEEL: 0.7+17.22=17.92

@maxmylyn: works for me, could be interesting for you guys. Do we need to map the macos scroll direction differently? (ie: is it somehow normalized the "right" way by some browsers)

comment:2 Changed 34 hours ago by J. Max Mena

Owner: changed from J. Max Mena to Antoine Martin

Checked with Firefox and Chrome in OSX - and yes the scroll direction is reversed.

Checked with a r19034 Fedora 26 server.

comment:3 Changed 24 hours ago by Antoine Martin

Owner: changed from Antoine Martin to J. Max Mena

Checked with Firefox and Chrome in OSX - and yes the scroll direction is reversed.

Not sure if that means that we're doing the right thing or that we need to invert the values on macos. Please clarify.

Note: See TracTickets for help on using tickets.