Are you looking at the right code? I see this from Qt5.4 source
(qtbase/src/gui/kernel/qwindowsysteminterface.h)
static void handleWheelEvent(QWindow *w, const QPointF & local, const
QPointF & global, QPoint pixelDelta, QPoint angleDelta, Qt::KeyboardModifiers
mods = Qt::NoModifier, Qt::ScrollPhase phase = Qt::ScrollUpdate);
static void handleWheelEvent(QWindow *w, ulong timestamp, const QPointF &
local, const QPointF & global, QPoint pixelDelta, QPoint angleDelta,
Qt::KeyboardModifiers mods = Qt::NoModifier, Qt::ScrollPhase phase =
Qt::ScrollUpdate);
Scroll units are floats. The line you're quoting is a QtMir internal
thing, which we mistakenly used ints for.
--
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 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 : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp