Shutdown dialog appears on resume, after a long delay in screen turning on
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Unassigned | ||
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Michael Terry | ||
unity8 (Ubuntu RTM) |
Fix Released
|
Undecided
|
Michael Zanetti |
Bug Description
Sometimes, if you press the power button to resume your device, the screen will stay black for a long time. When it does come on again, the shutdown dialog is likely showing instead of the greeter.
You might press the power button again while the screen is black, thinking you didn't actually press it the first time. This will immediately turn the screen on and then off again. At which point a third power button press will turn the screen on for good.
This bug is very similar to bug 1383277 (fixed), which involves a shutdown dialog appearing on resume, but for a different reason. This is also very similar to (and may be a dup of) bug 1409003. But since bug 1409003 currently involves an incoming text and this bug does not, I'm treating them as separate for now.
This bug is hard to reproduce. It seems to involve leaving and entering wifi/3G zones (or maybe simply toggling the wifi indicator button). But no reliable steps have been recorded yet.
I'm guessing that like bug 1383277, it involves some resume-event handler blocking the input stack so that Qt doesn't notice the power-button-
A trivial band-aid for this is to not start the shutdown-dialog timer if the screen is off. But that wouldn't address the source cause of a blocking event handler. So I think this still merits investigation. But if this is a critical/
Related branches
- Gerry Boland (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 21 lines (+10/-1)1 file modifiedqml/Shell.qml (+10/-1)
- Michael Zanetti (community): Approve
-
Diff: 56 lines (+28/-3)2 files modifieddebian/changelog (+13/-0)
qml/Shell.qml (+15/-3)
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Michael Terry (mterry) |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
importance: | Undecided → Critical |
milestone: | none → ww05-2015 |
status: | New → In Progress |
Changed in unity8 (Ubuntu RTM): | |
status: | New → In Progress |
assignee: | nobody → Michael Zanetti (mzanetti) |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
jibel's method for repro'ing
1) connect to wifi
2) toggle wifi from network indicator
3) suspend
4) wait until the phone really suspends
5) resume