Merge lp:~dobey/ubuntuone-credentials/auto-tab into lp:ubuntuone-credentials

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 255
Merged at revision: 256
Proposed branch: lp:~dobey/ubuntuone-credentials/auto-tab
Merge into: lp:ubuntuone-credentials
Diff against target: 65 lines (+0/-12)
3 files modified
online-accounts-provider/LoginForm.qml (+0/-4)
online-accounts-provider/NewAccount.qml (+0/-2)
online-accounts-provider/RegisterForm.qml (+0/-6)
To merge this branch: bzr merge lp:~dobey/ubuntuone-credentials/auto-tab
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
unity-api-1-bot continuous-integration Approve
Review via email: mp+309979@code.launchpad.net

Commit message

Don't do manual tab key handling in the UI.

To post a comment you must log in.
Revision history for this message
unity-api-1-bot (unity-api-1-bot) wrote :

PASSED: Continuous integration, rev:255
https://jenkins.canonical.com/unity-api-1/job/lp-ubuntuone-credentials-ci/32/
Executed test runs:
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build/991
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-0-fetch/998
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=vivid+overlay/795
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=vivid+overlay/795/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=xenial+overlay/795
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=xenial+overlay/795/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=yakkety/795
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=yakkety/795/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=vivid+overlay/795
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=vivid+overlay/795/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=xenial+overlay/795
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=xenial+overlay/795/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=yakkety/795
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=yakkety/795/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=vivid+overlay/795
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=vivid+overlay/795/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=xenial+overlay/795
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=xenial+overlay/795/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=yakkety/795
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=yakkety/795/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://jenkins.canonical.com/unity-api-1/job/lp-ubuntuone-credentials-ci/32/rebuild

review: Approve (continuous-integration)
Revision history for this message
Ted Gould (ted) wrote :

Works for me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'online-accounts-provider/LoginForm.qml'
2--- online-accounts-provider/LoginForm.qml 2016-03-21 14:48:41 +0000
3+++ online-accounts-provider/LoginForm.qml 2016-11-03 17:00:00 +0000
4@@ -40,8 +40,6 @@
5 width: main.width - (2 * main.anchors.margins)
6
7 Keys.onReturnPressed: main.processForm();
8- KeyNavigation.tab: twoFactorUI.visible ? twoFactorTextField : emailTextField /* from main */
9- KeyNavigation.backtab: emailTextField /* from main */
10 inputMethodHints: Qt.ImhSensitiveData
11 }
12
13@@ -70,8 +68,6 @@
14 Keys.onReturnPressed: {
15 main.processForm();
16 }
17- KeyNavigation.tab: emailTextField
18- KeyNavigation.backtab: passwordTextField
19 }
20
21 Label {
22
23=== modified file 'online-accounts-provider/NewAccount.qml'
24--- online-accounts-provider/NewAccount.qml 2016-03-21 14:48:41 +0000
25+++ online-accounts-provider/NewAccount.qml 2016-11-03 17:00:00 +0000
26@@ -79,8 +79,6 @@
27 width: main.width - (2 * main.anchors.margins)
28 validator: RegExpValidator { regExp: /.+@.+/ }
29 focus: true
30- KeyNavigation.tab: state == "login" ? passwordTextField : registerForm.nameTextField
31- KeyNavigation.backtab: state == "login" ? (twoFactorVisible ? twoFactorTextField : passwordTextField) : registerForm.confirmPasswordTextField
32 inputMethodHints: Qt.ImhEmailCharactersOnly
33 anchors.left: parent.left
34 anchors.right: parent.right
35
36=== modified file 'online-accounts-provider/RegisterForm.qml'
37--- online-accounts-provider/RegisterForm.qml 2016-03-21 14:48:41 +0000
38+++ online-accounts-provider/RegisterForm.qml 2016-11-03 17:00:00 +0000
39@@ -39,8 +39,6 @@
40 objectName: "nameTextField"
41 placeholderText: i18n.dtr(rootFlickable.domain, "First and last name")
42 width: main.width - (2 * main.anchors.margins)
43- KeyNavigation.tab: newPasswordTextField
44- KeyNavigation.backtab: emailTextField
45 onLengthChanged: {
46 if (nameTextField.length > 0) {
47 validateInput();
48@@ -59,8 +57,6 @@
49 placeholderText: i18n.dtr(rootFlickable.domain, "At least 8 characters")
50 echoMode: TextInput.Password
51 width: main.width - (2 * main.anchors.margins)
52- KeyNavigation.tab: confirmPasswordTextField
53- KeyNavigation.backtab: nameTextField
54 inputMethodHints: Qt.ImhSensitiveData
55 onLengthChanged: {
56 if (newPasswordTextField.length > 0) {
57@@ -75,8 +71,6 @@
58 placeholderText: i18n.dtr(rootFlickable.domain, "Must match the previous field")
59 echoMode: TextInput.Password
60 width: main.width - (2 * main.anchors.margins)
61- KeyNavigation.tab: emailTextField
62- KeyNavigation.backtab: newPasswordTextField
63 inputMethodHints: Qt.ImhSensitiveData
64 onLengthChanged: {
65 if (confirmPasswordTextField.length > 0) {

Subscribers

People subscribed via source and target branches

to all changes: