Comment 3 for bug 1605513

Revision history for this message
Gerry Boland (gerboland) wrote : Re: Touchpad scrolling is disproportionately faster than mouse wheel scrolling

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.