Merge lp:~lukas-kde/unity8/osk-indicator-switch into lp:unity8

Proposed by Lukáš Tinkl
Status: Merged
Approved by: Michał Sawicz
Approved revision: 2817
Merged at revision: 2849
Proposed branch: lp:~lukas-kde/unity8/osk-indicator-switch
Merge into: lp:unity8
Diff against target: 237 lines (+58/-30)
6 files modified
data/com.canonical.Unity8.gschema.xml (+10/-0)
qml/Greeter/GreeterPrompt.qml (+29/-10)
qml/OrientedShell.qml (+8/-6)
qml/Panel/Panel.qml (+4/-11)
qml/Shell.qml (+1/-0)
tests/qmltests/Panel/tst_Panel.qml (+6/-3)
To merge this branch: bzr merge lp:~lukas-kde/unity8/osk-indicator-switch
Reviewer Review Type Date Requested Status
Michał Sawicz Approve
Albert Astals Cid (community) Abstain
Unity8 CI Bot continuous-integration Approve
Michael Sheldon (community) Approve
Review via email: mp+317349@code.launchpad.net

Commit message

Let the OSK be driven by a switch in indicator-keyboard

Description of the change

Let the OSK be driven by a switch in indicator-keyboard

This fullfills the design requirement here: https://docs.google.com/document/d/1YbA0LEwbsNVf2O5C0ObNFRv3Tsuqn2HyYCsjEcY02OA/edit#heading=h.bjzrokdole8e

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

Yes, runtime dep on https://code.launchpad.net/~lukas-kde/indicator-keyboard/osk-indicator-switch/+merge/317397

* 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?

N/A

* If you changed the UI, has there been a design review?

Yes

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

FAILED: Continuous integration, rev:2810
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3151/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4131
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2421
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2421
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4159
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/3999
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/3999/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/3999
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/3999/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/3999
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/3999/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/3999
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/3999/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/3999
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/3999/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/3999
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/3999/artifact/output/*zip*/output.zip

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

review: Needs Fixing (continuous-integration)
2811. By Lukáš Tinkl

fix showing hiding the indicator icon and some failing tests

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

FAILED: Continuous integration, rev:2811
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3153/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4135
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2425
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2425
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4163
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4003
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4003/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4003
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4003/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4003
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4003/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4003
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4003/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4003
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4003/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4003
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4003/artifact/output/*zip*/output.zip

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

review: Needs Fixing (continuous-integration)
2812. By Lukáš Tinkl

add the OSK icon to the password prompt field

2813. By Lukáš Tinkl

the indicator-keyboard is present when there's a keyboard

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

FAILED: Continuous integration, rev:2812
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3154/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4136
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2426
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2426
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4164
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4004
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4004/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4004
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4004/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4004
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4004/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4004
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4004/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4004
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4004/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4004
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4004/artifact/output/*zip*/output.zip

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

review: Needs Fixing (continuous-integration)
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:2813
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3155/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4137
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2427
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2427
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4165
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4005
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4005/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4005
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4005/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4005
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4005/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4005
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4005/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4005
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4005/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4005
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4005/artifact/output/*zip*/output.zip

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

review: Approve (continuous-integration)
Revision history for this message
Albert Astals Cid (aacid) wrote :

Why does always-show-osk default to true? Isn't it more sensible to default to false?

review: Needs Information
Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

Right, we should default to the value of "!hasKeyboard" but since this isn't possible, we should probably set it to false by default. Will fix

2814. By Lukáš Tinkl

default to false for the OSK switch value

Revision history for this message
Albert Astals Cid (aacid) wrote :

I can't seem to get the indicator to actually show the keyboard (on zesty)

Revision history for this message
Albert Astals Cid (aacid) :
review: Needs Fixing
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2814
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3157/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4139
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2429
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2429
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4167
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4007
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4007/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4007
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4007/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4007
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4007/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4007
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4007/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4007
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4007/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4007
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4007/artifact/output/*zip*/output.zip

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

review: Needs Fixing (continuous-integration)
2815. By Lukáš Tinkl

merge trunk

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

FAILED: Continuous integration, rev:2815
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3162/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4151
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2440
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2440
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4179
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4017
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4017/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4017
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4017/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4017
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4017/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4017
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4017/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4017
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4017/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4017
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4017/artifact/output/*zip*/output.zip

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

review: Needs Fixing (continuous-integration)
2816. By Lukáš Tinkl

revert the faulty changes to disableHeight

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

FAILED: Continuous integration, rev:2816
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3208/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4211
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2483
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2483
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4239
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4074
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4074/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4074
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4074/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4074
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4074/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4074
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4074/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4074
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4074/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4074
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4074/artifact/output/*zip*/output.zip

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

review: Needs Fixing (continuous-integration)
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2816
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3223/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4227
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2500
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2500
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4255
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4090
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4090/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4090
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4090/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4090
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4090/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4090
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4090/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4090
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4090/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4090
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4090/artifact/output/*zip*/output.zip

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

review: Needs Fixing (continuous-integration)
2817. By Lukáš Tinkl

revert test change after having fixed disableHeight

Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

Looks good to me :)

review: Approve
Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

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

 Yes, all working perfectly.

 * Did CI run pass? If not, please explain why.

 Unrelated flaky test

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

PASSED: Continuous integration, rev:2817
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3228/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4234
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2507
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2507
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4262
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4097
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4097/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4097
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4097/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4097
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4097/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4097
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4097/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4097
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4097/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4097
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4097/artifact/output/*zip*/output.zip

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

review: Approve (continuous-integration)
Revision history for this message
Albert Astals Cid (aacid) wrote :

Saviq will review

review: Abstain
Revision history for this message
Michał Sawicz (saviq) wrote :

 * Did you perform an exploratory manual test run of the code change and any related functionality?
Y
 * Did CI run pass? If not, please explain why.
Y

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/com.canonical.Unity8.gschema.xml'
--- data/com.canonical.Unity8.gschema.xml 2016-12-10 14:06:18 +0000
+++ data/com.canonical.Unity8.gschema.xml 2017-02-28 13:38:13 +0000
@@ -58,6 +58,16 @@
58 <summary>The uri to the app store</summary>58 <summary>The uri to the app store</summary>
59 <description>This will be used whenever the user triggers an action to open the app store.</description>59 <description>This will be used whenever the user triggers an action to open the app store.</description>
60 </key>60 </key>
61 <key type="b" name="always-show-osk">
62 <default>false</default>
63 <summary>Force showing/hiding the OSK</summary>
64 <description>Toggle the visibility of the On Screen Keyboard unconditionally</description>
65 </key>
66 <key type="b" name="osk-switch-visible">
67 <default>false</default>
68 <summary>Whether the OSK switch should be visible</summary>
69 <description>Toggle the visibility of the OSK switch</description>
70 </key>
61 </schema>71 </schema>
6272
63 <schema path="/com/canonical/unity8/greeter/" id="com.canonical.Unity8.Greeter" gettext-domain="unity8">73 <schema path="/com/canonical/unity8/greeter/" id="com.canonical.Unity8.Greeter" gettext-domain="unity8">
6474
=== modified file 'qml/Greeter/GreeterPrompt.qml'
--- qml/Greeter/GreeterPrompt.qml 2017-01-19 15:02:54 +0000
+++ qml/Greeter/GreeterPrompt.qml 2017-02-28 13:38:13 +0000
@@ -16,6 +16,7 @@
1616
17import QtQuick 2.417import QtQuick 2.4
18import Ubuntu.Components 1.318import Ubuntu.Components 1.3
19import GSettings 1.0
19import "../Components"20import "../Components"
2021
21FocusScope {22FocusScope {
@@ -43,6 +44,11 @@
43 }44 }
44 }45 }
4546
47 GSettings {
48 id: unity8Settings
49 schema.id: "com.canonical.Unity8"
50 }
51
46 StyledItem {52 StyledItem {
47 id: d53 id: d
4854
@@ -154,14 +160,27 @@
154 }160 }
155161
156 secondaryItem: [162 secondaryItem: [
157 Icon {163 Row {
158 id: capsIcon164 id: extraIcons
159 name: "keyboard-caps-enabled"165 spacing: passwordInput.frameSpacing
160 height: units.gu(3)166 Icon {
161 width: units.gu(3)167 name: "keyboard-caps-enabled"
162 color: d.textColor168 height: units.gu(3)
163 visible: root.isSecret && false // TODO: detect when caps lock is on169 width: units.gu(3)
164 readonly property real visibleWidth: visible ? width + passwordInput.frameSpacing : 0170 color: d.textColor
171 visible: root.isSecret && false // TODO: detect when caps lock is on
172 }
173 Icon {
174 name: "input-keyboard-symbolic"
175 height: units.gu(3)
176 width: units.gu(3)
177 color: d.textColor
178 visible: !unity8Settings.alwaysShowOsk
179 MouseArea {
180 anchors.fill: parent
181 onClicked: unity8Settings.alwaysShowOsk = true
182 }
183 }
165 }184 }
166 ]185 ]
167186
@@ -199,7 +218,7 @@
199 right: parent.right218 right: parent.right
200 verticalCenter: parent.verticalCenter219 verticalCenter: parent.verticalCenter
201 leftMargin: units.gu(1.5)220 leftMargin: units.gu(1.5)
202 rightMargin: anchors.leftMargin + capsIcon.visibleWidth221 rightMargin: anchors.leftMargin + extraIcons.width
203 }222 }
204 text: root.text223 text: root.text
205 visible: passwordInput.text == "" && !passwordInput.inputMethodComposing224 visible: passwordInput.text == "" && !passwordInput.inputMethodComposing
@@ -221,7 +240,7 @@
221 anchors.left: parent.left240 anchors.left: parent.left
222 anchors.right: parent.right241 anchors.right: parent.right
223 anchors.leftMargin: passwordInput.frameSpacing * 2242 anchors.leftMargin: passwordInput.frameSpacing * 2
224 anchors.rightMargin: passwordInput.frameSpacing * 2 + capsIcon.visibleWidth243 anchors.rightMargin: passwordInput.frameSpacing * 2 + extraIcons.width
225 color: d.drawColor244 color: d.drawColor
226 text: passwordInput.displayText245 text: passwordInput.displayText
227 visible: root.isPrompt && !root.interactive246 visible: root.isPrompt && !root.interactive
228247
=== modified file 'qml/OrientedShell.qml'
--- qml/OrientedShell.qml 2017-01-24 07:38:43 +0000
+++ qml/OrientedShell.qml 2017-02-28 13:38:13 +0000
@@ -197,6 +197,12 @@
197 value: !shell.oskEnabled || shell.usageScenario == "desktop"197 value: !shell.oskEnabled || shell.usageScenario == "desktop"
198 }198 }
199199
200 Binding {
201 target: unity8Settings
202 property: "oskSwitchVisible"
203 value: shell.hasKeyboard
204 }
205
200 readonly property int supportedOrientations: shell.supportedOrientations206 readonly property int supportedOrientations: shell.supportedOrientations
201 & (deviceConfiguration.supportedOrientations == deviceConfiguration.useNativeOrientation207 & (deviceConfiguration.supportedOrientations == deviceConfiguration.useNativeOrientation
202 ? orientations.native_208 ? orientations.native_
@@ -268,12 +274,8 @@
268 mode: applicationArguments.mode274 mode: applicationArguments.mode
269 hasMouse: pointerInputDevices > 0275 hasMouse: pointerInputDevices > 0
270 hasKeyboard: keyboardsModel.count > 0276 hasKeyboard: keyboardsModel.count > 0
271 // TODO: Factor in if the current screen is a touch screen and if the user wants to277
272 // have multiple keyboards around. For now we only enable one keyboard at a time278 oskEnabled: unity8Settings.alwaysShowOsk || !hasKeyboard || forceOSKEnabled
273 // thus hiding it here if there is a physical one around or if we have a second
274 // screen (the virtual touchpad & osk on the phone) attached.
275 oskEnabled: (keyboardsModel.count === 0 && screens.count === 1) ||
276 forceOSKEnabled
277279
278 usageScenario: {280 usageScenario: {
279 if (unity8Settings.usageMode === "Windowed") {281 if (unity8Settings.usageMode === "Windowed") {
280282
=== modified file 'qml/Panel/Panel.qml'
--- qml/Panel/Panel.qml 2017-02-07 14:10:41 +0000
+++ qml/Panel/Panel.qml 2017-02-28 13:38:13 +0000
@@ -23,9 +23,6 @@
23import Unity.ApplicationMenu 0.123import Unity.ApplicationMenu 0.1
2424
25import QtQuick.Window 2.225import QtQuick.Window 2.2
26// for indicator-keyboard
27import AccountsService 0.1
28import Unity.InputInfo 0.1
2926
30import "../ApplicationMenus"27import "../ApplicationMenus"
31import "../Components"28import "../Components"
@@ -47,6 +44,7 @@
47 property bool fullscreenMode: false44 property bool fullscreenMode: false
48 property real panelAreaShowProgress: 1.045 property real panelAreaShowProgress: 1.0
49 property bool greeterShown: false46 property bool greeterShown: false
47 property bool hasKeyboard: false
5048
51 property string mode: "staged"49 property string mode: "staged"
5250
@@ -337,12 +335,12 @@
337 objectName: identifier+"-panelItem"335 objectName: identifier+"-panelItem"
338336
339 property int ownIndex: index337 property int ownIndex: index
340 property bool overflow: parent.width - x > __indicators.overFlowWidth338 readonly property bool overflow: parent.width - x > __indicators.overFlowWidth
341 property bool hidden: !expanded && (overflow || !indicatorVisible || hideSessionIndicator || hideKeyboardIndicator)339 readonly property bool hidden: !expanded && (overflow || !indicatorVisible || hideSessionIndicator || hideKeyboardIndicator)
342 // HACK for indicator-session340 // HACK for indicator-session
343 readonly property bool hideSessionIndicator: identifier == "indicator-session" && Math.min(Screen.width, Screen.height) <= units.gu(60)341 readonly property bool hideSessionIndicator: identifier == "indicator-session" && Math.min(Screen.width, Screen.height) <= units.gu(60)
344 // HACK for indicator-keyboard342 // HACK for indicator-keyboard
345 readonly property bool hideKeyboardIndicator: identifier == "indicator-keyboard" && (AccountsService.keymaps.length < 2 || keyboardsModel.count == 0)343 readonly property bool hideKeyboardIndicator: identifier == "indicator-keyboard" && !hasKeyboard
346344
347 height: parent.height345 height: parent.height
348 expanded: indicators.expanded346 expanded: indicators.expanded
@@ -396,11 +394,6 @@
396 }394 }
397 }395 }
398396
399 InputDeviceModel {
400 id: keyboardsModel
401 deviceFilter: InputInfo.Keyboard
402 }
403
404 IndicatorsLight {397 IndicatorsLight {
405 id: indicatorLights398 id: indicatorLights
406 }399 }
407400
=== modified file 'qml/Shell.qml'
--- qml/Shell.qml 2017-02-16 13:43:56 +0000
+++ qml/Shell.qml 2017-02-28 13:38:13 +0000
@@ -533,6 +533,7 @@
533 fullscreenMode: (focusedSurfaceIsFullscreen && !LightDMService.greeter.active && launcher.progress == 0 && !stage.spreadShown)533 fullscreenMode: (focusedSurfaceIsFullscreen && !LightDMService.greeter.active && launcher.progress == 0 && !stage.spreadShown)
534 || greeter.hasLockedApp534 || greeter.hasLockedApp
535 greeterShown: greeter && greeter.shown535 greeterShown: greeter && greeter.shown
536 hasKeyboard: shell.hasKeyboard
536 }537 }
537538
538 Launcher {539 Launcher {
539540
=== modified file 'tests/qmltests/Panel/tst_Panel.qml'
--- tests/qmltests/Panel/tst_Panel.qml 2017-01-24 07:44:18 +0000
+++ tests/qmltests/Panel/tst_Panel.qml 2017-02-28 13:38:13 +0000
@@ -272,6 +272,7 @@
272 }272 }
273273
274 function cleanup() {274 function cleanup() {
275 panel.hasKeyboard = false;
275 panel.indicators.hide();276 panel.indicators.hide();
276 panel.applicationMenus.hide();277 panel.applicationMenus.hide();
277 waitForAllAnimationToComplete("initial");278 waitForAllAnimationToComplete("initial");
@@ -713,8 +714,8 @@
713 { tag: "No keyboard, no keymap", keyboard: false, keymaps: [], hidden: true },714 { tag: "No keyboard, no keymap", keyboard: false, keymaps: [], hidden: true },
714 { tag: "No keyboard, one keymap", keyboard: false, keymaps: ["us"], hidden: true },715 { tag: "No keyboard, one keymap", keyboard: false, keymaps: ["us"], hidden: true },
715 { tag: "No keyboard, 2 keymaps", keyboard: false, keymaps: ["us", "cs"], hidden: true },716 { tag: "No keyboard, 2 keymaps", keyboard: false, keymaps: ["us", "cs"], hidden: true },
716 { tag: "Keyboard, no keymap", keyboard: true, keymaps: [], hidden: true },717 { tag: "Keyboard, no keymap", keyboard: true, keymaps: [], hidden: false },
717 { tag: "Keyboard, one keymap", keyboard: true, keymaps: ["us"], hidden: true },718 { tag: "Keyboard, one keymap", keyboard: true, keymaps: ["us"], hidden: false },
718 { tag: "Keyboard, 2 keymaps", keyboard: true, keymaps: ["us", "cs"], hidden: false }719 { tag: "Keyboard, 2 keymaps", keyboard: true, keymaps: ["us", "cs"], hidden: false }
719 ];720 ];
720 }721 }
@@ -722,6 +723,7 @@
722 function test_hidingKeyboardIndicator(data) {723 function test_hidingKeyboardIndicator(data) {
723 var item = findChild(panel, "indicator-keyboard-panelItem");724 var item = findChild(panel, "indicator-keyboard-panelItem");
724 AccountsService.keymaps = data.keymaps;725 AccountsService.keymaps = data.keymaps;
726 panel.hasKeyboard = data.keyboard;
725 if (data.keyboard) {727 if (data.keyboard) {
726 MockInputDeviceBackend.addMockDevice("/indicator_kbd0", InputInfo.Keyboard);728 MockInputDeviceBackend.addMockDevice("/indicator_kbd0", InputInfo.Keyboard);
727 } else {729 } else {
@@ -734,11 +736,12 @@
734 function test_visibleIndicators_data() {736 function test_visibleIndicators_data() {
735 return [737 return [
736 { visible: [true, false, true, false, true, true, false, true] },738 { visible: [true, false, true, false, true, true, false, true] },
737 { visible: [false, false, false, false, false, false, true, false] }739 { visible: [true, false, false, false, false, false, true, false] }
738 ];740 ];
739 }741 }
740742
741 function test_visibleIndicators(data) {743 function test_visibleIndicators(data) {
744 panel.hasKeyboard = true;
742 for (var i = 0; i < data.visible.length; i++) {745 for (var i = 0; i < data.visible.length; i++) {
743 var visible = data.visible[i];746 var visible = data.visible[i];
744 root.setIndicatorVisible(i, visible);747 root.setIndicatorVisible(i, visible);

Subscribers

People subscribed via source and target branches