Merge lp:~mterry/unity8/no-lock-during-demo into lp:unity8

Proposed by Michael Terry
Status: Merged
Approved by: Albert Astals Cid
Approved revision: 1070
Merged at revision: 1117
Proposed branch: lp:~mterry/unity8/no-lock-during-demo
Merge into: lp:unity8
Diff against target: 11 lines (+1/-1)
1 file modified
qml/Shell.qml (+1/-1)
To merge this branch: bzr merge lp:~mterry/unity8/no-lock-during-demo
Reviewer Review Type Date Requested Status
Albert Astals Cid (community) Approve
PS Jenkins bot (community) continuous-integration Needs Fixing
Review via email: mp+227968@code.launchpad.net

Commit message

When the edge demo is running, don't show the greeter if the screen is turned off. This avoids an odd interaction where parts of the greeter are disabled but the edge demo isn't visible until you slide the greeter away.

Description of the change

In current unity8, when the edge demo is active (past the first screen), the user can turn off the screen, turn it back on, and then see the greeter screen. But parts of it won't be active (like the indicators or the launcher, depending on which part of the edge demo is running). When they slide across the greeter, they'll get back to the demo.

As noted in bug 1283425, this can be a little unexpected. Either we should restart the edge demo or do something that isn't confusing.

I've opted for just not locking the screen when it turns off. This isn't a security flaw since the user hasn't had a chance to set a password. And it would fit with the rest of the edge demo's disabling of features until the user has had a chance to finish it.

Remember that you can re-enable the demo with:
phablet-config edges-intro --enable

== Checklist ==

 * 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

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

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

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1069. By Michael Terry

Merge from trunk

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
1070. By Michael Terry

Merge from trunk

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Albert Astals Cid (aacid) wrote :

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

 * Did CI run pass?
Known broken tests

review: Approve
1071. By Michael Terry

Merge from trunk

1072. By Michael Terry

Merge from trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Shell.qml'
2--- qml/Shell.qml 2014-08-05 12:06:16 +0000
3+++ qml/Shell.qml 2014-08-05 18:20:25 +0000
4@@ -400,7 +400,7 @@
5 onDisplayPowerStateChange: {
6 // We ignore any display-off signals when the proximity sensor
7 // is active. This usually indicates something like a phone call.
8- if (status == Powerd.Off && reason != Powerd.Proximity) {
9+ if (status == Powerd.Off && reason != Powerd.Proximity && !edgeDemo.running) {
10 greeter.showNow();
11 }
12

Subscribers

People subscribed via source and target branches