Merge lp://staging/~dandrader/qtmir/improveKbdEventPrint into lp://staging/qtmir

Proposed by Daniel d'Andrada
Status: Approved
Approved by: Gerry Boland
Approved revision: 620
Proposed branch: lp://staging/~dandrader/qtmir/improveKbdEventPrint
Merge into: lp://staging/qtmir
Diff against target: 59 lines (+38/-2)
1 file modified
src/common/debughelpers.cpp (+38/-2)
To merge this branch: bzr merge lp://staging/~dandrader/qtmir/improveKbdEventPrint
Reviewer Review Type Date Requested Status
Gerry Boland (community) Approve
Unity8 CI Bot (community) continuous-integration Approve
Review via email: mp+320564@code.staging.launchpad.net

Commit message

Make mirKeyboardEventToString() also print modifiers

Description of the change

* Are there any related MPs required for this MP to build/function as expected? Please list.
No

* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes

* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Not applicable

To post a comment you must log in.
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:619
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/605/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4603
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4631
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4458
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4458/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4458
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4458/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4458
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4458/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4458
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4458/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4458
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4458/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4458
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4458/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/605/rebuild

review: Approve (continuous-integration)
Revision history for this message
Gerry Boland (gerboland) wrote :

Is it useful to add "none"? The absence of a modifier could just as easily be represented by "[]"

Also, Mir has it's own debug printer for input events, could we use it more and save ourselves writing debug code.

review: Needs Information
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Oh, I pushed the unfinished version that only prints one or two values.
And now I lost the finished one. :/

On 22/03/2017 11:09, Gerry Boland wrote:
> Review: Needs Information
>
> Is it useful to add "none"? The absence of a modifier could just as easily be represented by "[]"

Sure

> Also, Mir has it's own debug printer for input events, could we use it more and save ourselves writing debug code.

You mean the mir reports that are enabled by env vars?

620. By Daniel d'Andrada

latest version

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:620
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/612/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4619
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4647
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4474
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4474/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4474
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4474/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4474
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4474/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4474
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4474/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4474
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4474/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4474
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4474/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-qtmir-ci/612/rebuild

review: Approve (continuous-integration)
Revision history for this message
Gerry Boland (gerboland) wrote :

> > Also, Mir has it's own debug printer for input events, could we use it more
> and save ourselves writing debug code.
>
>
> You mean the mir reports that are enabled by env vars?
Yeah. Do you want to keep runtime switchability?

Revision history for this message
Gerry Boland (gerboland) wrote :

lgtm

review: Approve

Unmerged revisions

620. By Daniel d'Andrada

latest version

619. By Daniel d'Andrada

Make mirKeyboardEventToString() also print modifiers

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches