Closed
Bug 989729
Opened 11 years ago
Closed 11 years ago
[Tarako][Dailer] Cannot unlock screen when call in background
Categories
(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)
Tracking
(blocking-b2g:1.3T+, b2g-v1.3T verified)
People
(Reporter: bli, Assigned: gweng)
Details
Attachments
(3 files)
Environment:
-------------------
Gaia 14ef4fcdf9199f04f7678755c917dc77f51e13ba
Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/b574a7967338
BuildID 20140329004002
Version 28.1
Steps to reproduce:
--------------------
1. Lock the screen of the test device
2. Make a call to the test device
3. Answer the call
4. Press the Home key to switch the call in background
5. Try to unlock the screen
Actual results:
---------------------
Cannot unlock the screen because no unlock button there.
caused by the following commit:
commit e2b1019efe2d6e1fd8fdff337d2187826f53f688
Author: Greg Weng <snowmantw@gmail.com>
Date: Mon Mar 17 11:33:49 2014 +0800
Bug 982530 - [tarako] incoming call with lock screen overlapped for a while
Flags: needinfo?(gweng)
Assignee | ||
Comment 2•11 years ago
|
||
What do you mean to
3. Answer the call
4. Press the Home key to switch the call in background
Is this means you have already answered the phone (slide the incoming lockscreen to the right),
and then pressed the home key?
On my device, it would return to homescreen as the normal behavior, and would NOT return to lockscreen, so the step
5. Try to unlock the screen
is no need to follow (there is no lockscreen anymore, so no need to unlock).
Flags: needinfo?(gweng)
(In reply to Greg Weng [:snowmantw][:gweng][:λ] from comment #2)
> What do you mean to
>
> 3. Answer the call
> 4. Press the Home key to switch the call in background
>
> Is this means you have already answered the phone (slide the incoming
> lockscreen to the right),
> and then pressed the home key?
>
Yeah,answer the phone,then press Home button.Nothing in the homescreen.I'll attach a picture later.
Please use the latest version to verify.there is a "disable" class in <div id="lockscreen">,so the screen "<div id='lockscreen-disabled-cover'> is shown when press the home button.
> On my device, it would return to homescreen as the normal behavior, and
> would NOT return to lockscreen, so the step
>
> 5. Try to unlock the screen
>
> is no need to follow (there is no lockscreen anymore, so no need to unlock).
This is the screenshot after answering the phone,and press the Home button.
Reporter | ||
Comment 5•11 years ago
|
||
(In reply to Greg Weng [:snowmantw][:gweng][:λ] from comment #2)
> On my device, it would return to homescreen as the normal behavior, and
> would NOT return to lockscreen, so the step
>
> 5. Try to unlock the screen
>
> is no need to follow (there is no lockscreen anymore, so no need to unlock).
>
If the expected result is like what you mentioned in comment #2, this bug should be like this:
Summary: Fail to return homescreen when switch the call into background
Steps to reproduce:
--------------------
1. Lock the screen of the test device
2. Make a call to the test device
3. Answer the call
4. Press the Home key to switch the call into background
Actual results:
---------------------
There is no icon on the screen, and only the wallpaper there.
Assignee | ||
Comment 6•11 years ago
|
||
Thanks for more information. I'll investigate this according to it.
(In reply to Bingqing Li from comment #5)
> (In reply to Greg Weng [:snowmantw][:gweng][:λ] from comment #2)
>
> > On my device, it would return to homescreen as the normal behavior, and
> > would NOT return to lockscreen, so the step
> >
> > 5. Try to unlock the screen
> >
> > is no need to follow (there is no lockscreen anymore, so no need to unlock).
> >
> If the expected result is like what you mentioned in comment #2, this bug
> should be like this:
>
> Summary: Fail to return homescreen when switch the call into background
>
> Steps to reproduce:
> --------------------
> 1. Lock the screen of the test device
> 2. Make a call to the test device
> 3. Answer the call
> 4. Press the Home key to switch the call into background
>
> Actual results:
> ---------------------
> There is no icon on the screen, and only the wallpaper there.
Our tester thinks that it hasn't been unlock when you answer the phone,so there should be the lockscreen under the call.But I don't know what it should be like.I think you should ask your PD to affirm it in production defination specification.
Comment 8•11 years ago
|
||
triage: this is a 1.3t+ regression
to Greg for now thanks
blocking-b2g: 1.3T? → 1.3T+
Component: Gaia::Dialer → Gaia::System::Lockscreen
Updated•11 years ago
|
Assignee: nobody → gweng
Assignee | ||
Comment 9•11 years ago
|
||
I remember that whether we need to unlock twice is a continuing problem... someone reported that they need to unlock twice when incoming call comes, and the others think the incoming unlocking is different from the "real" unlocking. So I'll ask UX while I'm solving this bug.
Assignee | ||
Comment 10•11 years ago
|
||
UX Carrie has confirmed that we should come back to lockscreen, even this would let user unlock twice. Because user may not want to unlock phone after accepted the incoming call, and put it back to the pocket immediately, without the lockscreen's protection.
And I had patched this. I'll attach it later.
Assignee | ||
Comment 11•11 years ago
|
||
I've attached the video to show the lockscreen now would display normally. I'll submit the patch later.
Assignee | ||
Comment 12•11 years ago
|
||
Solved the issue as the video shows.
Again, this patch may differs from the master. But I don't think I need to fire a follow-up bug this time, because I can patch the master without this issue.
Attachment #8399304 -
Flags: review?(timdream)
![]() |
||
Updated•11 years ago
|
status-b2g-v1.3T:
--- → affected
Assignee | ||
Comment 13•11 years ago
|
||
Travis now is green. Waiting for reviewing.
https://travis-ci.org/mozilla-b2g/gaia/builds/21927808
Comment 14•11 years ago
|
||
Comment on attachment 8399304 [details] [review]
Patch
Can we add some test cases?
Attachment #8399304 -
Flags: review?(timdream) → review+
Assignee | ||
Comment 15•11 years ago
|
||
Travis is green:
https://travis-ci.org/mozilla-b2g/gaia/builds/21927808
We may provide some integration test (because this is a visual issue), but may not happen so fast.
So I would land the patch first, and to see to add it while I solve the related issue on master.
Assignee | ||
Comment 16•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Verified fixed in todays Tarako build
1.3t Environmental Variables:
Device: Tarako 1.3t
BuildID: 20140501014002
Gaia: d26a776beae0070b0032248a2ce482bbe6321a6d
Gecko: e90f4b655511
Version: 28.1
Firmware Version: sp6821
Updated•11 years ago
|
Comment 18•11 years ago
|
||
Verified in comment #17, changing status of bug.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•