Answering a call doesn't switch to the phone app when locked

Bug #1181654 reported by Jono Bacon
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phone-app
Fix Released
High
Michał Sawicz

Bug Description

Currently the following happens when I recieve a call and the screen is switched off:

 * I hear the ringer sound.
 * The screen does not switch on (see bug https://bugs.launchpad.net/phone-app/+bug/1181652).
 * I press the power button to switch on the screen and I see the infographic with the notification bubble with Ignore/Accept call buttons. Ideally I should
 * When I press the Accept button th notification bubble is dismissed and the call connects and I can speak and hear in the call, but I still see the infographic and not the call screen.
 * If I tap the phone app I am immediately taken to the in-progress call screen.

The problem this bug causes right now is that because I don't see the phone app in-call progress screen, I can't hang up unless I access the phone app first.

Tags: dogfood

Related branches

Revision history for this message
Bill Filler (bfiller) wrote :

@mterry, @saviq
What is the plan for the greeter/lockscreen in this case and is there something we can do short term to workaround the issue?

Basically when you "accept" a phone call when the screen is locked and the greeter is visible can we notify the shell to unlock and display the phone app?

Changed in phone-app:
milestone: none → ubuntu-13.05
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Michael Terry (mterry) wrote :

The current plan is to open the phone app as the greeter user, with limited access to contacts (i.e. at most the person calling you).

Revision history for this message
Michał Sawicz (saviq) wrote :

The short term solution will probably be to hide the greeter when an app is focused behind it. Will investigate.

Changed in phone-app:
assignee: nobody → Michal Sawicz (saviq)
Bill Filler (bfiller)
summary: - Recieving a call doesn't switch to the phone app
+ Answering a call doesn't switch to the phone app when locked
Revision history for this message
Michał Sawicz (saviq) wrote :

> The current plan is to open the phone app as the greeter user, with limited access to contacts (i.e. at most the person calling you).

I imagine this will only be the case for PIN / password-protected accounts? For unprotected accounts this should just take you to your full phone app?

The linked branch implements the temporary behaviour of always hiding the greeter onFocusRequested - so whenever an app is started behind the greeter, it will hide (which the incoming call currently be the only case when that's the case).

Later we will need to make sure that it only happens in connection to interaction with a notification? Do we have other cases where we should unlock when an app requests focus?

Changed in phone-app:
status: Confirmed → In Progress
Revision history for this message
Michał Sawicz (saviq) wrote :

Probably not part of this bug, but I imagine the phone should lock when such a call was finished / the phone app should quit if it was invoked via an incoming call?

tags: added: dogfood
Michał Sawicz (saviq)
Changed in phone-app:
status: In Progress → Fix Committed
Changed in phone-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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