Merge lp:~mterry/unity8/greeter-osk into lp:unity8

Proposed by Michael Terry
Status: Merged
Approved by: Michał Sawicz
Approved revision: 2841
Merged at revision: 2841
Proposed branch: lp:~mterry/unity8/greeter-osk
Merge into: lp:unity8
Diff against target: 28 lines (+7/-4)
1 file modified
data/unity8-greeter-wrapper (+7/-4)
To merge this branch: bzr merge lp:~mterry/unity8/greeter-osk
Reviewer Review Type Date Requested Status
Michał Sawicz Approve
Unity8 CI Bot continuous-integration Approve
Review via email: mp+319215@code.launchpad.net

Commit message

Set QT_IM_MODULE in the greeter so that the OSK can come up.

Description of the change

And do a little bit of cleanup.

When testing, make sure that stay-hidden is false. It might have been true from past versions of unity8.

sudo -H -u lightdm dbus-run-session gsettings get com.canonical.keyboard.maliit stay-hidden

You'll also note that once you enable the OSK, you can't turn it off again.

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

PASSED: Continuous integration, rev:2841
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3300/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4345
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2597
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2597
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4373
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4207
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4207/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4207
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4207/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4207
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4207/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4207
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4207/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4207
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4207/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4207
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4207/artifact/output/*zip*/output.zip

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

review: Approve (continuous-integration)
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
1=== modified file 'data/unity8-greeter-wrapper'
2--- data/unity8-greeter-wrapper 2016-10-07 17:22:21 +0000
3+++ data/unity8-greeter-wrapper 2017-03-07 14:40:57 +0000
4@@ -49,9 +49,12 @@
5 TOUCH_WRAPPER=ubuntu-touch-session
6 fi
7
8-# Pretend that we're in an ubuntu-touch session, so that indicator-network
9-# will start.
10-export DESKTOP_SESSION=ubuntu-touch
11+# Advertise as a unity8 session, so that indicator-network will start.
12+export XDG_SESSION_DESKTOP=unity8
13+export DESKTOP_SESSION=$XDG_SESSION_DESKTOP
14+
15+set_greeter_var QT_IM_MODULE maliitphablet
16+set_greeter_var QT_QPA_PLATFORM ubuntumirclient
17
18 # We disable ofono using pulse. It causes problems with racing with the user's
19 # pulse. We need to come up with a better long-term fix for this, because we
20@@ -100,7 +103,7 @@
21 fi
22
23 # And finally actually start the greeter
24-exec env QT_QPA_PLATFORM=ubuntumirclient MIR_SERVER_FILE=$SUB_SOCKET $TOUCH_WRAPPER $@ &
25+exec env MIR_SERVER_FILE=$SUB_SOCKET $TOUCH_WRAPPER $@ &
26 CMD_PID=$!
27 wait $CMD_PID
28 CMD_PID=

Subscribers

People subscribed via source and target branches