Closed Bug 1089010 Opened 10 years ago Closed 10 years ago

Can open utility tray and settings app while SIM PIN dialog is open

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.1+, b2g-v2.1 verified, b2g-v2.2 verified)

VERIFIED FIXED
2.1 S8 (7Nov)
blocking-b2g 2.1+
Tracking Status
b2g-v2.1 --- verified
b2g-v2.2 --- verified

People

(Reporter: mikehenrty, Assigned: mancas)

References

Details

(Whiteboard: [systemsfe])

Attachments

(2 files)

STR:

1.) Enabled SIM PIN on sim card
2.) Open SIM PIN dialog (one way is to lock then unlock the phone)
3.) Pull down utility tray
4.) Click on Settings Icon

Expected result:
Either utility tray should not be opened at all, or the user should not be able to open settings app

Actual result:
The settings app opens in the background underneath the SIM PIN dialog, which can change the color of the statusbar and look really janky.
[Blocking Requested - why for this release]:
Not sure if it's worth blocking on this at this point, but this looks pretty bad to the user.
blocking-b2g: --- → 2.1?
Rob, what should happen here? Should the user be able to open the utility tray when the SIM PIN dialog is up? Should the settings icon be clickable? Should the statusbar even show at all?
Flags: needinfo?(rmacdonald)
(In reply to Michael Henretty [:mhenretty] from comment #0)
> STR:
> 
> 1.) Enabled SIM PIN on sim card
> 2.) Open SIM PIN dialog (one way is to lock then unlock the phone)

Why does the SIM PIN dialog show up when we lock and unlock the phone? That seems a bug.
(In reply to Michael Henretty [:mhenretty] from comment #2)
> Rob, what should happen here? Should the user be able to open the utility
> tray when the SIM PIN dialog is up? Should the settings icon be clickable?
> Should the statusbar even show at all?

The standard behaviour from dialogs is to allow the user to open the utility tray. The only possible exception might be a system-wide blocking dialog. Since this doesn't apply in the SIM PIN case, the user should be able to open the utility tray and settings.
Flags: needinfo?(rmacdonald)
I was able to reproduce this on today's 2.1 Flame(319mb)(KK)(Full Flash)

Flame 2.1 

Environmental Variables:
Device: Flame 2.1 (319mb)(Kitkat Base)(Full Flash)
Build ID: 20141027001201
Gaia: c97463d61f45513a2123b19610386ddbfc916819
Gecko: 4f8c0c021128
Version: 34.0 (2.1)
Firmware Version: v188
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0

I was able to open settings behind the SIM PIN screen which change the color of the status bar. The Rocketbar also appears and the user can perform a search.
Assignee: nobody → b.mcb
Hey etienne, please take a look at the patch and let me know if you think is better to make a different approach here.

Thanks!
Attachment #8512492 - Flags: review?(etienne)
Comment on attachment 8512492 [details] [review]
Sim pin dialog is closed when Settings App is opened

lgtm, redirecting the review to Alive though, so that you guys can sync up and avoid conflicts with bug 1062819.

If this gets 2.1+ we might want to land it first to ease the uplift.
Attachment #8512492 - Flags: review?(etienne)
Attachment #8512492 - Flags: review?(alive)
Attachment #8512492 - Flags: feedback+
Comment on attachment 8512492 [details] [review]
Sim pin dialog is closed when Settings App is opened

LGTM
Attachment #8512492 - Flags: review?(alive) → review+
broken functionality and poor user experience
blocking-b2g: 2.1? → 2.1+
Target Milestone: --- → 2.1 S8 (7Nov)
Since this is a blocker, we're reaching the deadline, and it has an R+, going to press the merge button.

In master: https://github.com/mozilla-b2g/gaia/commit/69786521f96990e12f39c71eb9a5b5ebc13fa88f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment on attachment 8512492 [details] [review]
Sim pin dialog is closed when Settings App is opened

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
not a regression

[User impact] if declined:
Really strange UX when user has sim pin enabled.

[Testing completed]:
I assume the developer and reviewers manually tested this. There is also an added unit test.

[Risk to taking this patch] (and alternatives if risky):
Looking at the patch, the code is pretty isolated to the sim lock dialog. The risk is low.

[String changes made]: none.
Attachment #8512492 - Flags: approval-gaia-v2.1?
This issue is verified on Flame 2.2.

Result: When the user pulls down the utility tray from the SIM PIN dialog and selects the settings icon, Settings app appears.

Device: Flame 2.2 (319mb, KK, Full Flash)
BuildID: 20141105160209
Gaia: 7918024c737c4570cacd784f267e28737ae05dea
Gecko: 2114ef80f6ae
Gonk: 48835395daa6a49b281db62c50805bd6ca24077e
Version: 36.0a1 (2.2) 
Firmware Version: v188
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0

However, there is an unexpected animation shown. Filed a bug 1095082.

================================================
Leaving verifyme for 2.1 uplift.
Status: RESOLVED → VERIFIED
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: verifyme
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Comment on attachment 8512492 [details] [review]
Sim pin dialog is closed when Settings App is opened

Removing approval-2.1 because this patch is for master. I'm going to upload a new one for v2.1
Attachment #8512492 - Flags: approval-gaia-v2.1?
Attached file Patch for v2.1
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
not a regression

[User impact] if declined:
Really strange UX when user has sim pin enabled.

[Testing completed]:
I assume the developer and reviewers manually tested this. There is also an added unit test.

[Risk to taking this patch] (and alternatives if risky):
Looking at the patch, the code is pretty isolated to the sim lock dialog. The risk is low.

[String changes made]: none.
Attachment #8518710 - Flags: approval-gaia-v2.1?
Attachment #8518710 - Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
It was bug 1089528.
Flags: needinfo?(ryanvm)
This issue is verified on Flame 2.1.

Result: When the user pulls down the utility tray from the SIM PIN dialog and selects the settings icon, Settings app appears.

Device: Flame 2.1 (319mb, KK, Full Flash)
BuildID: 20141110001201
Gaia: 0ec1925fc37b7c71d129ae44e42516a0cfb013c4
Gecko: 97487a2d1ee6
Gonk: 48835395daa6a49b281db62c50805bd6ca24077e
Version: 34.0 (2.1) 
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: