Comment 0 for bug 1607223

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Smooth two-finger touchpad scrolling doesn't work in apps under Unity8 (but does work in Mir demo servers)

Smooth two-finger touchpad scrolling doesn't work in apps under Unity8 (but does work in Mir demo servers).

The reason appears to be because QtMir drops the nice float vscroll precision that Mir gives it and converts that into an int with very limited resolution:

    void handleWheelEvent(ulong timestamp, QPoint angleDelta, Qt::KeyboardModifiers mods) override

QPoint is a pair of integers, but touchpad v/hscroll values are floats.