Merge lp:~mterry/unity8/fix-greeter-retry into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Michał Sawicz on 2016-03-25 |
| Approved revision: | 2280 |
| Merged at revision: | 2314 |
| Proposed branch: | lp:~mterry/unity8/fix-greeter-retry |
| Merge into: | lp:unity8 |
| Diff against target: |
39 lines (+5/-2) 3 files modified
qml/Greeter/Greeter.qml (+1/-1) tests/qmltests/Greeter/tst_Greeter.qml (+1/-0) tests/qmltests/tst_Shell.qml (+3/-1) |
| To merge this branch: | bzr merge lp:~mterry/unity8/fix-greeter-retry |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michał Sawicz | Approve on 2016-03-25 | ||
| Unity8 CI Bot | continuous-integration | 2016-03-17 | Needs Fixing on 2016-03-24 |
| Albert Astals Cid (community) | 2016-03-17 | Approve on 2016-03-22 | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2016-03-16.
Commit Message
Fix showing "Retry" in password prompt when turning on screen in tablet mode.
Description of the Change
When told to show the greeter (power button press or dbus request), we forcibly reset greeter state. This lets us catch when passwords change or the like by resetting the PAM stack.
In one case, we weren't resetting state hard enough and the password prompt thought it hadn't been prompted yet by PAM but still wasn't authorized. So it showed a "Retry" button instead of the normal password prompt.
This fixes that by going through the proper channels for a reset.
= To reproduce =
- Use tablet mode
- Log in
- Lock screen
- Turn screen on
- Turn screen off
- Turn screen on
You should now see a "Retry" button in the greeter password field.
= 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
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2279
https:/
Executed test runs:
UNSTABLE: https:/
UNSTABLE: https:/
FAILURE: 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:/
Click here to trigger a rebuild:
https:/
| Albert Astals Cid (aacid) wrote : | # |
Shell::
| Michael Terry (mterry) wrote : | # |
OK, fixed test_greeterLog
And I added a check to a tst_Greeter.qml check to confirm this MP's fix (that we actually trigger a fresh authentication when calling forceShow.
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2280
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
FAILURE: 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:/
Click here to trigger a rebuild:
https:/
| 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?
Yes (except broken autopilot)
* Did you make sure that the branch does not contain spurious tags?
Yes
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2280
https:/
Executed test runs:
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2280
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Michał Sawicz (saviq) wrote : | # |
IIUC what I *should* see is "Password", not "Retry"? But I still see "Retry" both on first boot and after your steps?
| Michał Sawicz (saviq) wrote : | # |
OK my testing was bogus, did not have the new unity8 installed :/

FAILED: Continuous integration, rev:2297 /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/761/ /unity8- jenkins. ubuntu. com/job/ build-0- fetch/1000 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1016 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 1016 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1014/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 1014/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1014/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 1014/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1014/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 1014/console
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/761/ rebuild
https:/