Merge lp:~andreas-pokorny/qtmir/store-and-recover-cookie-and-input-device-id into lp:qtmir
| Status: | Merged | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Daniel d'Andrada on 2017-03-03 | ||||||||
| Approved revision: | 611 | ||||||||
| Merged at revision: | 624 | ||||||||
| Proposed branch: | lp:~andreas-pokorny/qtmir/store-and-recover-cookie-and-input-device-id | ||||||||
| Merge into: | lp:qtmir | ||||||||
| Diff against target: |
402 lines (+175/-34) 4 files modified
src/platforms/mirserver/eventbuilder.cpp (+69/-15) src/platforms/mirserver/eventbuilder.h (+11/-6) src/platforms/mirserver/qteventfeeder.cpp (+10/-9) tests/mirserver/EventBuilder/eventbuilder_test.cpp (+85/-4) |
||||||||
| To merge this branch: | bzr merge lp:~andreas-pokorny/qtmir/store-and-recover-cookie-and-input-device-id | ||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Daniel d'Andrada (community) | 2017-02-28 | Approve on 2017-03-03 | |
| Unity8 CI Bot | continuous-integration | Approve on 2017-03-03 | |
|
Review via email:
|
|||
Commit Message
Attach MirInputDeviceId and the MirCookie to input events
Similar to the tracking of relative motion the cookie and input device ids of mir events are stored in the EventBuilder for later recovery
Description of the Change
This expands the storage and recovery of input event properties that cannot be reflected with a regular QtEvent onto the optional cookie and the input device id. The Input device id is crucial in tracking the key states in mirclient. E.g. the MirInputDeviceState event which is sent on focus change containing the pressed keys and toggled modifier states per devices, refers to the keyboards by using the input device id.
Since this is in the same area of the code and dnd is needed soon the cookie attribute of the MirInputEvent is also stored.
| Daniel d'Andrada (dandrader) wrote : | # |
Please update copyright years in the files you modified.
| Daniel d'Andrada (dandrader) wrote : | # |
With this branch I'm getting tons of "qtmir.mir.input: EventBuilder:
| Daniel d'Andrada (dandrader) wrote : | # |
Worth passing the timestamp to QtEventFeeder:
- 610. By Andreas Pokorny on 2017-03-03
-
Move storing of EventInfo into dispatch* methods
QtEventFeeder:
:dispatch is only used by tests. - 611. By Andreas Pokorny on 2017-03-03
-
update years
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:610
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: 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:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:611
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Daniel d'Andrada (dandrader) wrote : | # |
Looking good.
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
* Did CI run pass? If not, please explain why.
Yes

PASSED: Continuous integration, rev:609 /unity8- jenkins. ubuntu. com/job/ lp-qtmir- ci/531/ /unity8- jenkins. ubuntu. com/job/ build/4241 /unity8- jenkins. ubuntu. com/job/ build-0- fetch/4269 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 4104 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 4104/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= zesty/4104 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= zesty/4104/ artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 4104 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 4104/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= zesty/4104 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= zesty/4104/ artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 4104 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 4104/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= zesty/4104 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= zesty/4104/ artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-qtmir- ci/531/ rebuild
https:/