Closed Bug 1153779 Opened 6 years ago Closed 6 years ago

[SHB] Wrong dialog size on SIM PIN dialog with SHB enabled and landscape


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

Not set


(blocking-b2g:2.2+, b2g-v2.2 verified, b2g-master verified)

2.2 S10 (17apr)
blocking-b2g 2.2+
Tracking Status
b2g-v2.2 --- verified
b2g-master --- verified


(Reporter: apastor, Assigned: apastor)


(Whiteboard: [systemsfe])


(3 files)


1.- Start the phone with SHB enabled
2.- Skip SIM dialogs
3.- Open the browser app
4.- Enable airplane mode
5.- Disable airplane mode (SIM dialogs will be shown)
6.- Change orientation to landscape


SIM PIN dialog resizes


See screenshot
Attached image 2015-04-13-06-06-39.png
blocking-b2g: --- → 2.2?
Whiteboard: [systemsfe]
Ugh this seems like a regression. Didn't we pin the sim dialog to portrait only?
blocking-b2g: 2.2? → 2.2+
Assignee: nobody → apastor
No we didn't.  We probably should, esp since the keyboard would cover the dialog anyhow.
asking fxos ux.

By the way, Alberto, what device are you testing on?  I can't repeat the gap that you show.
Flags: needinfo?(firefoxos-ux-bugzilla)
It seems a regression that has been there for a while (Bug 1095805).

Naoki, I'm testing on a Flame with SHB enabled.

Comment on attachment 8592863 [details] [review]
[gaia] albertopq:1153779-sim-dialog > mozilla-b2g:master

As the child elements of dialog-overlay are .generic-dialogs, and [1] is already applying the 'right' value, I think that line is not needed anymore.

Is that correct, Kevin?


Attachment #8592863 - Flags: review?(kgrandon)
Comment on attachment 8592863 [details] [review]
[gaia] albertopq:1153779-sim-dialog > mozilla-b2g:master

I am very concerned about breaking bug 1095805, especially without tests for both bugs (due to lacking b2g desktop landscape support). Code looks fine to me though, thanks.
Attachment #8592863 - Flags: review?(kgrandon) → review+
Can't repro, looks like a regression, suggest pin to portrait if possible and wouldn't block.
Flags: needinfo?(firefoxos-ux-bugzilla)
Keywords: checkin-needed
Closed: 6 years ago
Resolution: --- → FIXED
Comment on attachment 8592863 [details] [review]
[gaia] albertopq:1153779-sim-dialog > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): 1095805
[User impact] if declined: Dialogs in landscape with SHB on, are misplaced
[Testing completed]: Manual testing (we cannot test landscape in marionette)
[Risk to taking this patch] (and alternatives if risky): CSS one liner. Low risk
[String changes made]: -
Attachment #8592863 - Flags: approval-gaia-v2.2?(bbajaj)
Attachment #8592863 - Flags: approval-gaia-v2.2?(bbajaj) → approval-gaia-v2.2+
This issue is verified fixed on Flame Master.

Result: The SIM PIN dialog resizes.

Environmental Variables:
Device: Flame 3.0 (KK, 319mb, full flash)
Build ID: 20150417010203
Gaia: 3cd0a9facce26c2acc7be3755a17131a6358e33f
Gecko: 51e3cb11a258
Gonk: b83fc73de7b64594cd74b33e498bf08332b5d87b
Version: 40.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:40.0) Gecko/40.0 Firefox/40.0

Adding verifyme for 2.2 verificaiton.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: verifyme
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
According to the STR of Comment 0,this bug has been successfully verified on latest Nightly Flame v2.2.
See attachment: verified_v2.2.mp4.
Reproduce rate: 0/5
Actual Results: The SIM PIN dialog resizes.

Device: Flame 2.2 build(Pass)
Build ID               20150419002502
Gaia Revision          c15a2b6d3a783813959c2b3bffd2a131f4270b9e
Gaia Date              2015-04-17 17:49:32
Gecko Revision
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150419.040848
Firmware Date          Sun Apr 19 04:08:59 EDT 2015
Bootloader             L1TC000118D0
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][MGSEI-Triage+]
You need to log in before you can comment on or make changes to this bug.