Merge lp:~vanvugt/qtmir/fix-1607240 into lp:qtmir
Status: | Merged |
---|---|
Approved by: | Daniel d'Andrada |
Approved revision: | 533 |
Merged at revision: | 544 |
Proposed branch: | lp:~vanvugt/qtmir/fix-1607240 |
Merge into: | lp:qtmir |
Diff against target: |
32 lines (+7/-2) 2 files modified
src/modules/Unity/Application/mirsurface.cpp (+5/-1) src/platforms/mirserver/qteventfeeder.cpp (+2/-1) |
To merge this branch: | bzr merge lp:~vanvugt/qtmir/fix-1607240 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel d'Andrada (community) | Abstain | ||
Unity8 CI Bot (community) | continuous-integration | Approve | |
Lukáš Tinkl (community) | Approve | ||
Review via email: mp+301449@code.launchpad.net |
Commit message
Fix incorrect mouse wheel/touchpad scrolling scale (LP: #1607240)
and also add sufficient precision that high-resolution touchpad
scrolling now works! (LP: #1607223)
This fixes two mistakes:
1. angleDelta is not in degrees but eighths of a degree, so the magic
constant 15 should be 120 (QWheelEvent:
[http://
2. When converting from Qt back into a Mir event we forgot completely
to divide by the same factor to get back to the Mir scale of things.
Description of the change
Additional fixes required!
Unfortunately we've built an ecosystem with tweaked values to work with
the old incorrect scroll values and additional fixes are required after
this one:
Xmir: Fix released in yakkety
System Settings:
https:/
https:/
webbrowser and other Qt apps:
https:/
FAILED: Continuous integration, rev:530 /unity8- jenkins. ubuntu. com/job/ lp-qtmir- ci/312/ /unity8- jenkins. ubuntu. com/job/ build/2402/ console /unity8- jenkins. ubuntu. com/job/ build-0- fetch/2430 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 2317 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 2317 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= yakkety/ 2317 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 2310/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 2310 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 2310/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= yakkety/ 2310/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 2310/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 2310 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 2310/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 2310 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 2310/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 2310/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 2310 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 2310/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= yakkety/ 2310 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= yakkety/ 2310/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-qtmir- ci/312/ rebuild
https:/