Merge lp:~lukas-kde/qtmir/wheelEvent into lp:qtmir
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Gerry Boland on 2015-10-15 | ||||
| Approved revision: | 389 | ||||
| Merged at revision: | 396 | ||||
| Proposed branch: | lp:~lukas-kde/qtmir/wheelEvent | ||||
| Merge into: | lp:qtmir | ||||
| Prerequisite: | lp:~unity-team/qtmir/touch_tracing | ||||
| Diff against target: |
268 lines (+111/-17) 8 files modified
src/modules/Unity/Application/mirsurface.cpp (+38/-8) src/modules/Unity/Application/mirsurface.h (+1/-0) src/modules/Unity/Application/mirsurfaceinterface.h (+1/-0) src/modules/Unity/Application/mirsurfaceitem.cpp (+5/-1) src/platforms/mirserver/qteventfeeder.cpp (+54/-7) src/platforms/mirserver/qteventfeeder.h (+6/-0) tests/mirserver/QtEventFeeder/mock_qtwindowsystem.h (+5/-1) tests/modules/common/fake_mirsurface.h (+1/-0) |
||||
| To merge this branch: | bzr merge lp:~lukas-kde/qtmir/wheelEvent | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Daniel d'Andrada (community) | 2015-10-13 | Abstain on 2015-10-21 | |
| Gerry Boland | Approve on 2015-10-15 | ||
| PS Jenkins bot | continuous-integration | 2015-10-13 | Needs Fixing on 2015-10-14 |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-10-01.
Commit Message
Implement support for mouse wheel events; correctly pass around buttons
Description of the Change
Implement support for mouse wheel events; also correctly pass around buttons
Cf. https:/
* Are there any related MPs required for this MP to build/function as expected? Please list.
https:/
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* Did you make sure that your branch does not contain spurious tags?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Yes
* If you changed the UI, has there been a design review?
N/A
| Daniel d'Andrada (dandrader) wrote : | # |
"""
-pkg_check_
+pkg_check_
"""
The unity-api versioning scheme is made so that qtmir and unity8 depend on a *specific* version of the API. That's meant solely ensure that qtmir and unity8 are kept in sync. There's absolutely no guarantee (or effort to towards it) that a given version is backward or forward compatible.
| Lukáš Tinkl (lukas-kde) wrote : | # |
> """
> -pkg_check_
> +pkg_check_
> """
>
> The unity-api versioning scheme is made so that qtmir and unity8 depend on a
> *specific* version of the API. That's meant solely ensure that qtmir and
> unity8 are kept in sync. There's absolutely no guarantee (or effort to towards
> it) that a given version is backward or forward compatible.
Got it, fixed
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:384
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
Could you please move "getMirButtonsF
The mir::events:
| Lukáš Tinkl (lukas-kde) wrote : | # |
> Could you please move "getMirButtonsF
> separate variable like it's being done for timestamp and modifiers?
>
> The mir::events:
> number of parameters. Using those helper variables improve readability and I
> think won't impact performance as I bet they will be optimized away by the
> compiler.
Done
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:385
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
the handleWheelEvent() line in qteventfeeder.h is way too long. Please avoid going beyond 120 chars. It's our coding style (which, by the way, I couldn't find it right now).
That's the last nitpick I have with this MP. :)
| Lukáš Tinkl (lukas-kde) wrote : | # |
> the handleWheelEvent() line in qteventfeeder.h is way too long. Please avoid
> going beyond 120 chars. It's our coding style (which, by the way, I couldn't
> find it right now).
>
> That's the last nitpick I have with this MP. :)
Fixed
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:386
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
> > the handleWheelEvent() line in qteventfeeder.h is way too long. Please avoid
> > going beyond 120 chars. It's our coding style (which, by the way, I couldn't
> > find it right now).
> >
> > That's the last nitpick I have with this MP. :)
>
> Fixed
Thanks!
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:388
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 389. By Lukáš Tinkl on 2015-10-14
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:389
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://

PASSED: Continuous integration, rev:383 jenkins. qa.ubuntu. com/job/ qtmir-ci/ 475/ jenkins. qa.ubuntu. com/job/ qtmir-vivid- amd64-ci/ 171 jenkins. qa.ubuntu. com/job/ qtmir-vivid- armhf-ci/ 171 jenkins. qa.ubuntu. com/job/ qtmir-vivid- armhf-ci/ 171/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ qtmir-vivid- i386-ci/ 53 jenkins. qa.ubuntu. com/job/ qtmir-wily- amd64-ci/ 208 jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 208 jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 208/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ qtmir-wily- i386-ci/ 53
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/qtmir- ci/475/ rebuild
http://