Confirmed the wheel vscroll value received by Xmir is exactly 7.0:
       vscroll = mir_pointer_event_axis_value(pev, mir_pointer_axis_vscroll);

So for each mouse wheel tick:
USC sends a vscroll value of +1/-1 to Unity8
Unity8 sends a vscroll value of +7/-7 to apps

In previous versions of Xmir, we would ignore the magnitude and convert
the 7 into 1. But now Xmir does proper smooth scrolling we need to
honour the magnitude. So a value of 7 from Unity8 now results in 7x more
scrolling.

The Xmir change is correct and we need to fix some Untiy8/Qt code
somewhere so that a mouse wheel tick is always vscroll=1.0.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1607240

Title:
  Xmir Firefox scrolling is too fast (mouse wheel) when run under Unity8
  (since Xmir 2:1.18.4-1ubuntu4)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmir/+bug/1607240/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to