Merge lp:~attente/unity8/gtk-qt-im-module into lp:unity8
| Status: | Rejected |
|---|---|
| Rejected by: | Michał Sawicz on 2015-12-08 |
| Proposed branch: | lp:~attente/unity8/gtk-qt-im-module |
| Merge into: | lp:unity8 |
| Diff against target: |
21 lines (+6/-0) 1 file modified
data/unity8.conf (+6/-0) |
| To merge this branch: | bzr merge lp:~attente/unity8/gtk-qt-im-module |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michał Sawicz | Disapprove on 2015-12-08 | ||
| Albert Astals Cid (community) | 2015-11-24 | Approve on 2015-12-02 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-11-25 | |
|
Review via email:
|
|||
Commit Message
Set environment variables needed for Maliit to work with GTK+/Qt apps.
livecd-rootfs currently sets these in /etc/environment on flash. Doing it here instead will allow us to remove it from there.
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, but only by directly copying the altered file into the file system. An unrelated test is failing, preventing the package from building:
task-0: FAIL! : SessionBackendT
task-0: Actual (dbusUnitySessi
task-0: Expected ((login1face.
task-0: Loc: [/home/
* 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?
Packaging was not changed
* If you changed the UI, has there been a design review?
Packaging was not changed
| Albert Astals Cid (aacid) wrote : | # |
What's the benefit of doing it here instead of /etc/environment ?
| William Hua (attente) wrote : | # |
Putting them in /etc/environment seems like kind of a hack. Those variables are related to the graphical environment in Unity 8 only, so it would be ideal if they were not set in other desktop shells or VTs where they aren't needed.
| Albert Astals Cid (aacid) wrote : | # |
Is this something we really need?
I've dropped the QT_IM_MODULE=
I'm guessing it comes from /etc/profile.
So maybe you can just drop it from /etc/environment without the need to add it to unity8?
| William Hua (attente) wrote : | # |
Yes, we need it. It isn't running /etc/profile.
| Albert Astals Cid (aacid) wrote : | # |
It's really weird that the behaviour on your phone and on mine is different but oh well, i guess this won't hurt either.
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
* Did CI run pass?
Yes for vivid
* Did you make sure that the branch does not contain spurious tags?
Yes
| Michał Sawicz (saviq) wrote : | # |
So... I removed the line from /etc/environment, rebooted, and:
phablet@
maliitphablet
So I'm not sure there's a need for this?
| Michael Terry (mterry) wrote : | # |
I also am able to remove the QT_IM_MODULE line from /etc/environment and it's correctly set by /etc/profile.
So I second this branch not being needed here... But this branch also sets GTK_IM_MODULE, which isn't currently done by maliit-
| William Hua (attente) wrote : | # |
It's really strange that my device is acting differently from everyone else's. But if that's the case, then I guess it's safe to just remove it from livecd-rootfs.
Does anyone have an opinion on moving maliit-framework.sh out of the Maliit source package anyways? The contents seem quite Unity 8 specific...
| Michał Sawicz (saviq) wrote : | # |
I'm fine with moving the file to unity8 session (note there are currently two separate packages for touch and desktop - ubuntu-
Unmerged revisions
- 2058. By William Hua on 2015-11-24
-
Don't pass values when unsetting
- 2057. By William Hua on 2015-11-24
-
Set environment variables needed for Maliit

FAILED: Continuous integration, rev:2058 jenkins. qa.ubuntu. com/job/ unity8- ci/6806/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 5397 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- xenial- touch/221/ console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/1517 jenkins. qa.ubuntu. com/job/ unity8- qmluitest- xenial- amd64/219/ console jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/1412 jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/1412 jenkins. qa.ubuntu. com/job/ unity8- xenial- amd64-ci/ 219 jenkins. qa.ubuntu. com/job/ unity8- xenial- i386-ci/ 218 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-touch/ 4267 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 5411 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 5411/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 25483 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- xenial- touch/71/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/220 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/220/ artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 25482
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/6806/ rebuild
http://