MX4 button sometimes remains active with the screen off

Bug #1489323 reported by Pat McGowan
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
High
Michał Sawicz
unity-system-compositor (Ubuntu)
Confirmed
Undecided
Unassigned
unity8 (Ubuntu)
Confirmed
High
Josh Arenson

Bug Description

On last few weeks of rc-proposed and ota6 on MX4
On occasion when the phone resumes, either through a power button press or an incoming event, the greeter is not shown and either the passcode entry page or the last running app is shown directly.

This is intermittent but once in this state it is very consistently behaving this way.
Update: while that was originally true now (build 136) it seems to clear once the button is pressed, the greeter is shown next resume.

(was Greeter not always shown)

I reproduced it a few times after an incoming text but its not consistent

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

This was happening around 8:30 pm as I recall

description: updated
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

previously time period

kevin gunn (kgunn72)
Changed in canonical-devices-system-image:
assignee: nobody → kevin gunn (kgunn72)
milestone: none → ww40-2015
importance: Undecided → High
kevin gunn (kgunn72)
Changed in unity8 (Ubuntu):
assignee: nobody → Josh Arenson (josharenson)
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity8 (Ubuntu):
status: New → Confirmed
kevin gunn (kgunn72)
Changed in canonical-devices-system-image:
status: New → In Progress
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Still seeing this in latest images fwiw

Changed in canonical-devices-system-image:
milestone: ww40-2015 → ww46-2015
Revision history for this message
Josh Arenson (josharenson) wrote :

I've spent about an hour on r128 and r131 with no luck reproducing. I'll start using this as my main phone tomorrow in hopes of reproducing. Any idea when the issue started occurring WRT to the logs? (I assume the logs contain info before _and_ after the bug occurred).

description: updated
Revision history for this message
Josh Arenson (josharenson) wrote :

I used my MX4 for a few days and never way able to see this... I have a patch that would enable timestamps in the logs, but at this point, I don't know how that would be helpful as the logs contain nothing remarkable. I'll discuss with the team some ideas and get back.

Revision history for this message
Josh Arenson (josharenson) wrote :

was*

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

The shell is showing the greeter on the suspend button press. The show is delayed by a 1 millisecond timer.
What could prevent that from executing properly?

Revision history for this message
Josh Arenson (josharenson) wrote :

@Pat that timer is the first thing I thought of when I saw this bug. I looked into it a bit, and found that the timer is synchronized with the animation timer. This means it has 16 ms resolution. This shouldn't matter as the only purpose of the timer is to ensure that the greeter is shown after the current event is processed. That said, I think we should log when/if the timer is triggering. Since I still can't reproduce this, I was hoping you could run an instrumented version of Unity8. If you are able to, would you prefer a patch (just qml/init changes, so you shouldn't have to recompile anything) or a deb?

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

@josh sorry I missed that comment, I can take either

Changed in canonical-devices-system-image:
assignee: kevin gunn (kgunn72) → Pat McGowan (pat-mcgowan)
milestone: ww46-2015 → ww02-2016
status: In Progress → Incomplete
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

@josh still seeing this occasionally so shoot me some qml or whatever

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

I just discovered a feature - double tapping the button at the bottom of the MX4 opens the greeter. on the device I use daily it seems this also works with the screen off. On another test unit I was able to get it once buts its not consistent.

Somehow my phone is in a state such that the button is not disabled when the screen is off, tapping the button lights it up.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

A reboot cleared that state and the button is no longer active.

summary: - Greeter not always being shown
+ MX4 button sometimes remains active with the screen off
Changed in canonical-devices-system-image:
status: Incomplete → Confirmed
description: updated
Changed in canonical-devices-system-image:
assignee: Pat McGowan (pat-mcgowan) → Michał Sawicz (saviq)
description: updated
Revision history for this message
Josh Arenson (josharenson) wrote :

@Pat I can absolutly reproduce this using the following sequence

1. Set phone to unlock on swipe
2. Rapidly tap the "home" button
3. Simultaneously tap the power button to lock the screen
4. Stop tapping the "home" button after the screen darkens
5. Unlock the device

Expected: greeter is shown
Actual: Dash is shown

I can visibly see the "home" button blink well after I've pressed it (and well after the screen blanks. This seems like a good place to start looking around.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-system-compositor (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: ww02-2016 → ww08-2016
Michał Sawicz (saviq)
Changed in canonical-devices-system-image:
milestone: ww08-2016 → backlog
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.