Merge lp:~vanvugt/mir/workaround-1522673 into lp:mir
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3183 |
Proposed branch: | lp:~vanvugt/mir/workaround-1522673 |
Merge into: | lp:mir |
Diff against target: |
28 lines (+6/-5) 1 file modified
playground/demo-shell/window_manager.cpp (+6/-5) |
To merge this branch: | bzr merge lp:~vanvugt/mir/workaround-1522673 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+279731@code.launchpad.net |
Commit message
Work around unpredictable scroll magnitude. (LP: #1522673)
Knowing that all desktop mice implement scroll wheel as discrete
button 4/5 events, a robust client should do this anyway. The existence
of a magnitude is an illusion introduced by libinput, so ignore it.
The direction is still backwards but we'll fix that in one of the
"fix" branches.
Description of the change
I still wonder why input APIs insist on creating this problem with
a scroll "axis". All wheel mice I've ever seen emitted discrete
button events. It would be clearer for everyone if we just kept the button
4/5 events. In Xmir I actually have to synthesise button 4/5 events from the vscroll information anyway.
To post a comment you must log in.
PASSED: Continuous integration, rev:3179 jenkins. qa.ubuntu. com/job/ mir-ci/ 5782/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/5213 jenkins. qa.ubuntu. com/job/ mir-clang- vivid-amd64- build/4119 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/5162 jenkins. qa.ubuntu. com/job/ mir-mediumtests -xenial- touch/110/ console jenkins. qa.ubuntu. com/job/ mir-xenial- amd64-ci/ 112 jenkins. qa.ubuntu. com/job/ mir-xenial- amd64-ci/ 112/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-xenial- i386-ci/ 111 jenkins. qa.ubuntu. com/job/ mir-xenial- i386-ci/ 111/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 5161 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 5161/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- touch/7691 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 25832 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- xenial- armhf/108/ console
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/5782/ rebuild
http://