Two-finger touchpad scrolling is not accurate in apps under Unity8 (but is in Mir demo servers)
Bug #1607223 reported by
Daniel van Vugt
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Undecided
|
Daniel van Vugt | ||
qtmir (Ubuntu) |
Fix Released
|
High
|
Daniel van Vugt | ||
qtubuntu (Ubuntu) |
Fix Released
|
High
|
Daniel van Vugt |
Bug Description
Smooth two-finger touchpad scrolling is not accurate in apps under Unity8 (but is 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 handleWheelEven
QPoint is a pair of integers, but touchpad v/hscroll values are floats.
I have only just discovered that although my new smooth scrolling support about to land in Xmir works in Mir's demo servers, it doesn't work when I run the same binaries under Unity8.
Related branches
lp://staging/~vanvugt/qtmir/fix-1607240
- Daniel d'Andrada (community): Abstain
- Unity8 CI Bot (community): Approve (continuous-integration)
- Lukáš Tinkl (community): Approve
-
Diff: 32 lines (+7/-2)2 files modifiedsrc/modules/Unity/Application/mirsurface.cpp (+5/-1)
src/platforms/mirserver/qteventfeeder.cpp (+2/-1)
lp://staging/~vanvugt/qtubuntu/correct-scroll-speed
- Lukáš Tinkl (community): Approve
- Unity8 CI Bot: Approve (continuous-integration)
-
Diff: 13 lines (+2/-1)1 file modifiedsrc/ubuntumirclient/input.cpp (+2/-1)
Changed in qtmir (Ubuntu): | |
importance: | Undecided → High |
Changed in qtmir: | |
importance: | Undecided → High |
tags: | added: unity8-desktop |
summary: |
- Smooth two-finger touchpad scrolling doesn't work in apps under Unity8 - (but does work in Mir demo servers) + Smooth two-finger touchpad scrolling is not accurate in apps under + Unity8 (but is in Mir demo servers) |
description: | updated |
description: | updated |
Changed in qtmir: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in qtmir (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in qtmir: | |
status: | New → In Progress |
Changed in qtmir (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in qtubuntu: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in qtubuntu (Ubuntu): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in qtubuntu: | |
status: | New → In Progress |
Changed in qtubuntu (Ubuntu): | |
status: | New → In Progress |
Changed in qtubuntu: | |
importance: | Undecided → High |
Changed in qtubuntu (Ubuntu): | |
importance: | Undecided → High |
Changed in qtmir: | |
status: | In Progress → Fix Committed |
Changed in qtubuntu: | |
status: | In Progress → Fix Committed |
Changed in qtmir (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in qtubuntu (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
assignee: | nobody → Daniel van Vugt (vanvugt) |
summary: |
- Smooth two-finger touchpad scrolling is not accurate in apps under - Unity8 (but is in Mir demo servers) + Two-finger touchpad scrolling is not accurate in apps under Unity8 (but + is in Mir demo servers) |
Changed in canonical-devices-system-image: | |
milestone: | none → 13 |
Changed in qtmir: | |
status: | Fix Committed → Fix Released |
Changed in qtubuntu: | |
status: | Fix Committed → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
no longer affects: | qtubuntu |
no longer affects: | qtmir |
To post a comment you must log in.
Test case:
Run webbrowser-app on a system with a nice big touchpad, under Unity7 and under Unity8.
You will find you have high-resolution precision to scroll very finely under Unity7, but not in Unity8.
Also, don't use System Settings as a test because that one has very broken touchpad scrolling even under Unity7 (!?) -> bug 1605513