Merge lp:~mterry/unity8/no-home-when-locked into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Daniel d'Andrada on 2016-04-26 |
| Approved revision: | 2329 |
| Merged at revision: | 2367 |
| Proposed branch: | lp:~mterry/unity8/no-home-when-locked |
| Merge into: | lp:unity8 |
| Diff against target: |
40 lines (+18/-1) 2 files modified
qml/Shell.qml (+8/-1) tests/qmltests/tst_Shell.qml (+10/-0) |
| To merge this branch: | bzr merge lp:~mterry/unity8/no-home-when-locked |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Daniel d'Andrada (community) | 2016-04-05 | Approve on 2016-04-26 | |
| Unity8 CI Bot | continuous-integration | Needs Fixing on 2016-04-06 | |
| Unity Team | 2016-04-12 | Pending | |
|
Review via email:
|
|||
Commit Message
Ignore Home Key presses when the greeter is up.
This avoids pocket presses / dialing on devices like the arale.
Description of the Change
* 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
- 2329. By Michael Terry on 2016-04-05
-
Check coverPage, not greeter -- it animates closed
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2329
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
UNSTABLE: 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:/
| Daniel d'Andrada (dandrader) wrote : | # |
If the display is off, shouldn't that hardware home button be completely disabled? I mean, not even generate the event at driver level.
| Michael Terry (mterry) wrote : | # |
It can happen if the screen is first turned on. Say by a notification or whatnot. From the linked bug:
"If, for some reason, the display turns on (power button pressed inadvertently or battery notification for example) while the device is in a pocket, the button is pressed, the greeter dismissed and the pocket starts tapping random keys until the device is completely locked."
| Daniel d'Andrada (dandrader) wrote : | # |
Code looks sensible. Didn't test though.
| Daniel d'Andrada (dandrader) wrote : | # |
It would be nice if you could shorten that first line in the commit message. Unnecessarily verbose
| Michael Terry (mterry) wrote : | # |
I made the commit message shorter.
| 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.
Yes

FAILED: Continuous integration, rev:2328 /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/936/ /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= vivid+overlay, testname= qmluitests. sh/522 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= xenial, testname= qmluitests. sh/522 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=phone- armhf,release= vivid+overlay, testname= autopilot. sh/522 /unity8- jenkins. ubuntu. com/job/ build-0- fetch/1274 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1245 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 1245 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1243 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1243/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 1243 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 1243/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1243 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1243/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 1243 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 1243/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1243 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1243/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 1243 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 1243/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
UNSTABLE: 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: /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/936/ rebuild
https:/