Merge lp:~cimi/ubuntu-system-settings/fix-1390557 into lp:ubuntu-system-settings

Proposed by Andrea Cimitan
Status: Merged
Approved by: Michael Terry
Approved revision: 1194
Merged at revision: 1201
Proposed branch: lp:~cimi/ubuntu-system-settings/fix-1390557
Merge into: lp:ubuntu-system-settings
Diff against target: 41 lines (+14/-2)
2 files modified
wizard/qml/Pages/passwd-confirm.qml (+7/-1)
wizard/qml/Pages/passwd-set.qml (+7/-1)
To merge this branch: bzr merge lp:~cimi/ubuntu-system-settings/fix-1390557
Reviewer Review Type Date Requested Status
Michael Terry (community) Approve
PS Jenkins bot continuous-integration Needs Fixing
Review via email: mp+241307@code.launchpad.net

Commit message

Delay password set/confirm screens after entering the 4th digit, fixing 1390557

Description of the change

 * Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)
y
 * Did you build your software in a clean sbuild/pbuilder chroot or ppa?
not needed
 * Did you build your software in a clean sbuild/pbuilder armhf chroot or ppa?
not needed
 * Has your component "TestPlan” been executed successfully on emulator, N4?
no
 * Has a 5 minute exploratory testing run been executed on N4?
on another device
 * If you changed the packaging (debian), did you subscribe a core-dev to this MP?
no
 * If you changed the UI, did you subscribe the design-reviewers to this MP?
no
 * What components might get impacted by your changes?
wizard
 * Have you requested review by the teams of these owning components?
I will

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

That does feel nicer.

 * Are any changes against your component pending/needed to land the MP under review in a functional state and are those called out explicitly by the submitter?
 NA

 * Did you do exploratory testing related to the component you own with the MP changeset included?
 Yes

 * Has the submitter requested review by all the relevant teams/reviewers?
 Yes

 * If you are the reviewer owning the component the MP is against, have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?
 Yes

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'wizard/qml/Pages/passwd-confirm.qml'
2--- wizard/qml/Pages/passwd-confirm.qml 2014-10-23 13:27:22 +0000
3+++ wizard/qml/Pages/passwd-confirm.qml 2014-11-10 17:28:22 +0000
4@@ -60,11 +60,17 @@
5
6 onEntered: {
7 if (passphrase === root.password) {
8- pageStack.next()
9+ confirmTimer.start()
10 } else {
11 clear(true)
12 }
13 }
14+
15+ Timer {
16+ id: confirmTimer
17+ interval: UbuntuAnimation.SnapDuration
18+ onTriggered: pageStack.next()
19+ }
20 }
21
22 Component {
23
24=== modified file 'wizard/qml/Pages/passwd-set.qml'
25--- wizard/qml/Pages/passwd-set.qml 2014-10-23 13:27:22 +0000
26+++ wizard/qml/Pages/passwd-set.qml 2014-11-10 17:28:22 +0000
27@@ -36,7 +36,13 @@
28
29 function confirm() {
30 root.password = lockscreen.passphrase;
31- pageStack.load(Qt.resolvedUrl("passwd-confirm.qml"));
32+ confirmTimer.start()
33+ }
34+
35+ Timer {
36+ id: confirmTimer
37+ interval: UbuntuAnimation.SnapDuration
38+ onTriggered: pageStack.load(Qt.resolvedUrl("passwd-confirm.qml"));
39 }
40
41 UnityComponents.Lockscreen {

Subscribers

People subscribed via source and target branches