Closed Bug 1231892 Opened 8 years ago Closed 8 years ago

When SIM PIN1 is locked, all buttons and icons in Phone/Massages/Contacts app become unresponsive.

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.6+, b2g-v2.5 unaffected, b2g-master affected)

RESOLVED WORKSFORME
2.6 S3 - 12/18
blocking-b2g 2.6+
Tracking Status
b2g-v2.5 --- unaffected
b2g-master --- affected

People

(Reporter: hejingmei, Assigned: apastor)

References

Details

(Keywords: regression, Whiteboard: [systemsfe])

Attachments

(3 files)

[1.Description]:
[Aires KK master][Flame KK master]Start the phone,and input wrong SIM PIN1 three times.You will find that all buttons and icons in Phone/Massages/Contacts app become unresponsive.

See attachment: Aries_master.3gp & logcat_1706
Found time : 17:06

[2.Testing Steps]: 
Precondition:    
Have a SIM with PIN1 code.

1. Start the phone
2. Input the wrong SIM PIN1 code three times.
3. Launch Phone, or Massages, or Contacts app.
4. Try to use buttons and icons in apps above.

[3.Expected Result]: 
4. All buttons and icons in Phone/Massages/Contacts app should be responsive when tapped, or the PUK dialog prompts for user unlocks the PIN1.

[4.Actual Result]: 
4. All buttons and icons in Phone/Massages/Contacts app become unresponsive.

[5.Reproduction build]: 
Device: Aries kk master(affected)
 Build ID               20151210120926
Gaia Revision          7e962276913bd4da7ce5fa7540767107ce322c78
Gaia Date              2015-12-09 21:27:39
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/412e4d7ce98ca4dbc37de133d0f26d7e1a59946f
Gecko Version          45.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151210.112747
Firmware Date          Thu Dec 10 11:27:55 UTC 2015
Bootloader             s1

Device: Flame kk master 512mb(affected)
Build ID               20151210150222
Gaia Revision          7e962276913bd4da7ce5fa7540767107ce322c78
Gaia Date              2015-12-09 21:27:39
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/412e4d7ce98ca4dbc37de133d0f26d7e1a59946f
Gecko Version          45.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151210.183953
Firmware Date          Thu Dec 10 18:40:06 EST 2015
Firmware Version       v18d v4
Bootloader             L1TC000118D0

Device: Aries kk v2.5(unaffected)
Build ID               20151211001044
Gaia Revision          2eb55a6193b711b4acb5944be3ba8fea138506c8
Gaia Date              2015-12-10 21:18:06
Gecko Revision         http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/d0aa054f0eeae855ff0b4d7ef6c984ab96fd1944
Gecko Version          44.0a2
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151210.232018
Firmware Date          Thu Dec 10 23:20:26 UTC 2015
Bootloader             s1

Device: Flame kk v2.5 512mb(unaffected)
Build ID               20151211000407
Gaia Revision          2eb55a6193b711b4acb5944be3ba8fea138506c8
Gaia Date              2015-12-10 21:18:06
Gecko Revision         http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/d0aa054f0eeae855ff0b4d7ef6c984ab96fd1944
Gecko Version          44.0a2
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151210.231805
Firmware Date          Thu Dec 10 23:18:14 UTC 2015
Firmware Version       v18d v4
Bootloader             L1TC000118D0

[6.Reproduction Frequency]: 
occasionally Recurrence,7/10

[7.TCID]: 
Free Test
Component: Gaia::First Time Experience → Gaia::System
Hm I haven't seen this new Pin dialog before. Alberto, did we land any refactoring here or did we transition this to web components?
blocking-b2g: --- → 2.6+
Flags: needinfo?(apastor)
Keywords: regression
Whiteboard: [systemsfe]
Yes, we migrated it in bug 1228600 + bug 1230202.

It seems that the PUK dialog is trying to be displayed when entering Dialer/SMS/Contacts, but is failing somehow, and the system_dialog_manager still thinks that is displayed, so the focus is in the invisible focus.

Let me take a look to see if it has an easy fix or I'll backout the migration otherwise. Thanks!
Assignee: nobody → apastor
Flags: needinfo?(apastor)
Lela, could you please provide the same logcat, with this patch applied? -> [1]

I need some tracelogs to see what's going on. 
Thanks!

[1] https://github.com/albertopq/gaia/tree/1231892-sim-locked
Flags: needinfo?(hejingmei)
Keywords: qawanted
Blocks: 1228600
Target Milestone: --- → 2.6 S3 - 12/18
Attaching a logcat with comment 4 patch applied. I went into Phone app, entered wrong password 3 times, backed out to homescreen, and then re-enter Phone app the bug happens.
^ meant to say wrong sim pin, not password.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmercado)
Keywords: qawanted
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmercado)
Flags: needinfo?(hejingmei)
This probably was fixed by bug 1231268.

Could you please try again with that patch merged? Thanks!
Flags: needinfo?(pcheng)
Keywords: qawanted
Confirmed that this issue can NOT be encountered on latest build. After dismissing the 'Enter PUK code' dialog that pops up each time when I open Phone/Messages/Contacts after three failed attempts in entering SIM Pin, user is able to interact with buttons in the app.

Side note: That PUK code dialog layout is pretty bad, which has been filed in bug 1232240. Multiple problems with this dialog.

Device: Flame 2.6
BuildID: 20151216030223
Gaia: a84c2dbe672583914d04380cd61a56f1c60c3b8e
Gecko: 0babaa3edcf908c393b68a3dc2d1c2a2450c31ed
Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a
Version: 46.0a1 (2.6) 
Firmware Version: v18Dv4
User Agent: Mozilla/5.0 (Mobile; rv:46.0) Gecko/46.0 Firefox/46.0

Device: Aries 2.6
BuildID: 20151216121527
Gaia: a84c2dbe672583914d04380cd61a56f1c60c3b8e
Gecko: 0babaa3edcf908c393b68a3dc2d1c2a2450c31ed
Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56
Version: 46.0a1 (2.6) 
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:46.0) Gecko/46.0 Firefox/46.0

We can probably WFM this bug.
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage?]
Flags: needinfo?(pcheng) → needinfo?(jmercado)
Keywords: qawanted
Closing as WFM per comment 8.  Please reopen if this begins occurring again.
Status: NEW → RESOLVED
Closed: 8 years ago
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmercado)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: