To solve _this_bug_ as the description states it is probably much simpler: We should scale the number of integer wheel events sent to Qt according to the float magnitude of the Mir vscroll axis. So QtMir should accumulate vscroll values as a float and only emit them to Qt each time that value ticks over an integer value.
That will correct the relative scrolling distances being disproportionate between mice and touchpads. ** Changed in: qtmir (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Also affects: qtmir Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1605513 Title: Touchpad scrolling is disproportionately faster than mouse wheel scrolling Status in Canonical System Image: New Status in QtMir: New Status in qtmir package in Ubuntu: New Status in unity8 package in Ubuntu: Invalid Bug description: Touchpad scrolling is disproportionately faster than mouse wheel scrolling in Unity8 (web browser and system settings). I can only say this with confidence today because I implemented accurate smooth scrolling in Xmir yesterday, so I know how it should behave. It's possible QtMir is overreacting to the large number of events that touchpads generate compared to a mouse wheel, without taking into account the scroll magnitude of each one is smaller. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1605513/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp