Merge lp:~mterry/unity8/greeter-apps into lp:unity8
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~mterry/unity8/greeter-apps |
| Merge into: | lp:unity8 |
| Prerequisite: | lp:~mterry/unity8/greeter-focus |
| Diff against target: |
1630 lines (+1080/-38) 37 files modified
data/unity8-greeter-wrapper (+11/-3) debian/control (+3/-1) plugins/SessionBroadcast/SessionBroadcast.cpp (+36/-10) plugins/SessionBroadcast/SessionBroadcast.h (+10/-3) plugins/Unity/Indicators/indicatorsmanager.cpp (+3/-5) plugins/Utils/CMakeLists.txt (+1/-0) plugins/Utils/URLDispatcher.cpp (+77/-0) plugins/Utils/URLDispatcher.h (+47/-0) plugins/Utils/plugin.cpp (+2/-0) qml/Components/KeymapSwitcher.qml (+27/-1) qml/Greeter/Greeter.qml (+2/-2) qml/Panel/IndicatorItemRow.qml (+13/-2) qml/Panel/Indicators/MenuItemFactory.qml (+65/-0) qml/Shell.qml (+35/-10) tests/mocks/CMakeLists.txt (+1/-0) tests/mocks/SessionBroadcast/CMakeLists.txt (+8/-0) tests/mocks/SessionBroadcast/SessionBroadcast.cpp (+34/-0) tests/mocks/SessionBroadcast/SessionBroadcast.h (+39/-0) tests/mocks/SessionBroadcast/plugin.cpp (+31/-0) tests/mocks/SessionBroadcast/plugin.h (+32/-0) tests/mocks/SessionBroadcast/qmldir (+2/-0) tests/mocks/Unity/Indicators/IndicatorsModel.qml (+41/-1) tests/mocks/Utils/CMakeLists.txt (+1/-0) tests/mocks/Utils/URLDispatcher.cpp (+38/-0) tests/mocks/Utils/URLDispatcher.h (+47/-0) tests/mocks/Utils/plugin.cpp (+2/-0) tests/plugins/CMakeLists.txt (+1/-0) tests/plugins/SessionBroadcast/BroadcastServer.cpp (+33/-0) tests/plugins/SessionBroadcast/BroadcastServer.h (+40/-0) tests/plugins/SessionBroadcast/CMakeLists.txt (+45/-0) tests/plugins/SessionBroadcast/interfaces.xml (+18/-0) tests/plugins/SessionBroadcast/server.cpp (+37/-0) tests/plugins/SessionBroadcast/sessionbroadcasttest.cpp (+111/-0) tests/plugins/Utils/CMakeLists.txt (+9/-0) tests/plugins/Utils/URLDispatcherTest.cpp (+78/-0) tests/qmltests/Panel/tst_IndicatorItemRow.qml (+25/-0) tests/qmltests/tst_Shell.qml (+75/-0) |
| To merge this branch: | bzr merge lp:~mterry/unity8/greeter-apps |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Unity8 CI Bot | continuous-integration | 2016-07-08 | Needs Fixing on 2016-07-19 |
| Daniel d'Andrada (community) | 2016-07-08 | Approve on 2016-07-19 | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2016-06-29.
This proposal has been superseded by a proposal from 2016-07-20.
Commit Message
Support launching apps inside a unity8 session from the greeter and support emergency dialing inside the greeter.
Description of the Change
Testing instructions:
(You can test this on desktop just fine. But you won't see the emergency dialer functionality that way. And you'd have to be running unity8 as a session too. So easier to do it on the phone.)
- "citrain device-upgrade 55 XXXX" to install a backported yakkety lightdm and this MP to your phone.
- On your phone, "sudo apt install unity8-greeter unity-greeter-
- On your phone, edit /etc/lightdm/
Now reboot and try launching apps from the launcher and from indicators. When you unlock the phone, you should see that app.
Also try pressing the "Home" button on the launcher. It should go-to-home in the session.
Also try pressing the "Emergency Call" button and see how it launches the dialer-app.
After logging in and you press the power button, you get a mere lockscreen, which isn't suitable for testing this branch. If you go to the Settings indicator and press lock, you'll get a proper greeter which is suitable. You can tell whether you're in a lockscreen or the greeter because the greeter currently has less indicators (separate issue). You may see some odd behaviors/visuals here and there. Using a separate greeter is certainly not seamless yet. Working on it. But this MP is just about launching apps. Other issues will be fixed in due time.
* Are there any related MPs required for this MP to build/function as expected? Please list.
No, except it needs a backported lightdm to test on the phone.
* 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?
I'm on that team.
* If you changed the UI, has there been a design review?
NA
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2497
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
UNSTABLE: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
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:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2498
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
UNSTABLE: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
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:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
- 2499. By Michael Terry on 2016-07-14
-
Merge trunk
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2499
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2499
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2499
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
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:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
- 2500. By Michael Terry on 2016-07-15
-
And unregister the url-dispatcher well-known dbus name if we are set inactive (shouldn't happen in real practice)
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:2500
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
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:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Daniel d'Andrada (dandrader) wrote : | # |
Some minor stuff:
"""
+++ qml/Greeter/
@@ -99,7 +99,7 @@
}
// Notify that the user has explicitly requested the given app through unity8 GUI.
- function notifyUserReque
+ function notifyUserReque
if (!active) {
}
"""
Worth updating the documentation.
-------
URLDispatcher:
I suggest naming it urlRequested instead. Client dispatches a URL, service receives the URL request. From the service's point of view a URL has been requested.
-------
In Shell.qml:
"""
URLDispatcher {
[...]
function activateURL(url) {
}
}
"""
I think a more appropriate place for activateURL() would be next to activateApplica
| Daniel d'Andrada (dandrader) wrote : | # |
How does logging work when you have two unity8 instances running?
- 2501. By Michael Terry on 2016-07-18
-
Address review comments
- 2502. By Michael Terry on 2016-07-18
-
Save dbus-session in /run/ again, in attempt to make dialer-app launching more reliable
| Michael Terry (mterry) wrote : | # |
I addressed your comments. Regarding logging, I'll just repeat here what I said on IRC for posterity:
The lightdm user logs to its home in /var/lib/
You also mentioned on IRC a problem launching the emergency dialer. I was able to reproduce once but then had problems. I made a stab at something that might help? But I'm curious how reproducable it is for you.
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2502
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
UNSTABLE: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
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:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
- 2503. By Michael Terry on 2016-07-19
-
Fix race with upstart socket
| Michael Terry (mterry) wrote : | # |
OK, try again Daniel. I think I fixed the race condition with upstart causing the emergency dialer from not appearing.
| Daniel d'Andrada (dandrader) wrote : | # |
Launching dialer does work now
| Daniel d'Andrada (dandrader) wrote : | # |
Tapping on application icons in the greeter launcher has no effect whatsoever.
| Michael Terry (mterry) wrote : | # |
Whoops, I left out an instruction: you also have to install unity-greeter-
(This MP adds a Recommends for unity-greeter-
| Daniel d'Andrada (dandrader) wrote : | # |
* 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.
No. Unrelated qmluitest failures. The same failures appear in other MPs.
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2503
https:/
Executed test runs:
SUCCESS: https:/
UNSTABLE: https:/
SUCCESS: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
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:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
- 2504. By Michael Terry on 2016-07-20
-
Merge in keyboardIndicator, since we conflict
- 2505. By Michael Terry on 2016-07-20
-
Move new tst_Shell tests, to avoid conflict
- 2506. By Michael Terry on 2016-08-03
-
merge from parent
- 2507. By Michael Terry on 2016-08-11
-
Merge from trunk
- 2508. By Michael Terry on 2016-08-11
-
Merge session-chooser-gui
- 2509. By Michael Terry on 2016-08-29
-
Merge from session-chooser-gui
- 2510. By Michael Terry on 2016-09-06
-
Merge session-chooser-gui

FAILED: Continuous integration, rev:2496 /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/1643/ /unity8- jenkins. ubuntu. com/job/ build/2185/ console /unity8- jenkins. ubuntu. com/job/ build-0- fetch/2213/ console
https:/
Executed test runs:
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/1643/ rebuild
https:/