Closed Bug 1234783 Opened 9 years ago Closed 8 years ago

"Learn more" doesn't work normally and background of home screen will become black.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(blocking-b2g:2.6?, b2g-v2.5 unaffected, b2g-master verified)

VERIFIED FIXED
blocking-b2g 2.6?
Tracking Status
b2g-v2.5 --- unaffected
b2g-master --- verified

People

(Reporter: wenqiuhong, Assigned: zbraniecki)

Details

(Keywords: regression)

Attachments

(4 files)

Attached file logcat_2222.txt
[1.Description]:
[Aries KK master][Flame KK master] "Learn more" doesn‘t work normally and background of home screen will become black after user creates a new account and does a recycle step between age view and "cannot create account" view. 
See attachments: Aries_KK_master.3gp&Aries_KK_master.png&logcat_2222.txt
Found time: 22:22

[2.Testing Steps]: 
1. Launch Settings ->Firefox Accounts
2. Create a new account
3. At the Age Verification page, input 2010 or 2012 as the year of birth, and tap Next
4. Read the Pop-Up message, tap OK
5. Tap next
6. Tap "learn more"
7. Tap home button and observe the background of homescreen

[3.Expected Result]: 
Step 6. "Learn more" should work normally and take user to the correct ftc.gov COPPA page.
Step 7. It should show homescreen correctly.

[4.Actual Result]: 
Step 6. "Learn more" doesn't work normally and can't show ftc.gov COPPA page.
Step 7. It shows a white bar on the status bar and a "X" is on the left side of Notification. If user taps "learn more" once in the step 6, the color of background becomes more dark. If user taps "learn more" twice and more in the step 6 and then taps home button, the wallpaper disappears, the color of background is black.

[5.Reproduction build]: 
Device: Aries KK master(Affected)
Build ID               20151222115209
Gaia Revision          f3cf488a97ecaec43369f3e3d8a7dda52be019f9
Gaia Date              2015-12-22 02:20:26
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/ad16863d1d45bd3fd7906c76fa1ac1e12d24a133
Gecko Version          46.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151222.111221
Firmware Date          Tue Dec 22 11:12:28 UTC 2015
Bootloader             s1

Device: Flame KK master 512mb(Affected)
Build ID               20151222030233
Gaia Revision          f3cf488a97ecaec43369f3e3d8a7dda52be019f9
Gaia Date              2015-12-22 02:20:26
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/ad16863d1d45bd3fd7906c76fa1ac1e12d24a133
Gecko Version          46.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151222.071644
Firmware Date          Tue Dec 22 07:16:57 EST 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

Device: Aries KK v2.5(Unaffected)
Build ID               20151222010746
Gaia Revision          42aa9b91a231572138509bbd942d918d0293110a
Gaia Date              2015-12-21 22:48:19
Gecko Revision         http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/9c525eef094b710e8ea6d00613200282acf9b682
Gecko Version          44.0
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151222.001825
Firmware Date          Tue Dec 22 00:18:33 UTC 2015
Bootloader             s1

Device: Flame KK v2.5 512mb(Unaffected)
Build ID               20151218180935
Gaia Revision          eeed1451e0e48b63abe3199e4d6906adc2a762d2
Gaia Date              2015-12-17 14:53:36
Gecko Revision         http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/766600655dfb1b67c380b9da4f4b19acb505a858
Gecko Version          44.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151218.172320
Firmware Date          Fri Dec 18 17:23:30 UTC 2015
Firmware Version       v18D v4
Bootloader             L1TC000118D0

[6.Reproduction Frequency]: 
Always Recurrence,10/10

[7.TCID]: 
Free Test
Attached image Aries_KK_master.png
Attached video Aries_KK_master.3gp
Regression issue, the homescreen background color should not be changed.
blocking-b2g: --- → 2.6?
QA Whiteboard: [severe]
b2g-inbound Regression Window:

Last Working Environmental Variables:
Device: Flame KK Master
Build ID               20151211024840
Gaia Revision          d886e152b42e557db612470d3417fe2947cbdeee
Gaia Date              2015-12-10 21:39:23
Gecko Revision
https://hg.mozilla.org/integration/b2g-inbound/rev/754b4805a65cab4f3aca99899227acc44ba4fb20
Gecko Version          45.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151216.064944
Firmware Date          Wed Dec 16 06:49:56 EST 2015
Firmware Version        V18D V4
Bootloader             L1TC000118D0

First Broken Environmental Variables:
Device: Flame KK Master
Build ID               20151211071132
Gaia Revision          2ee753a9ddf33ce26c8c1440d085f16e940b1655
Gaia Date              2015-12-11 14:37:33
Gecko Revision
https://hg.mozilla.org/integration/b2g-inbound/rev/a936c0ea60f370ab92d1be174f06ef785e97a48c
Gecko Version          45.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20151216.064944
Firmware Date          Wed Dec 16 06:49:56 EST 2015
Firmware Version        V18D V4
Bootloader             L1TC000118D0

First Broken Gaia & Last Working Gecko - issue DOES repro
Gaia Revision          2ee753a9ddf33ce26c8c1440d085f16e940b1655
Gecko Revision
https://hg.mozilla.org/integration/b2g-inbound/rev/754b4805a65cab4f3aca99899227acc44ba4fb20

First Broken Gecko & Last Working Gaia - issue DOES NOT repro
Gaia Revision          d886e152b42e557db612470d3417fe2947cbdeee
Gecko Revision
https://hg.mozilla.org/integration/b2g-inbound/rev/a936c0ea60f370ab92d1be174f06ef785e97a48c

Gaia pushlog:
https://github.com/mozilla-b2g/gaia/compare/d886e152b42e557db612470d3417fe2947cbdeee...2ee753a9ddf33ce26c8c1440d085f16e940b1655

---------------------------------------------------------------------
Hi Zibi,
  
This bug seems to be caused by Bug 1231022, could you help to check the pushlog?

Thank you.
Flags: needinfo?(gandalf)
QA Whiteboard: [severe] → [severe][MGSEI-Triage+]
Taking
Assignee: nobody → gandalf
So, I dug into this and it's not a regression from bug 1231022.

What happened is that one changeset before bug 1231022 the link was not clickable so it's impossible to follow STR, but that bug is a fix for bug 1224065 and if you look at a changeset before that one (a8a3657) it is still reproducible.

Queena, can you bisect before changeset a8a3657 and look for when the regression really happened please?
Assignee: gandalf → nobody
Flags: needinfo?(wenqiuhong)
I'll look into this as well.
QA Contact: jmercado
Unfortunately we are blocked in finding a window for this issue.  This issue does NOT occur before the link was broken and DOES occur after so there is no way for us to find a window here.

Last Working 
Environmental Variables:
Device: Flame 2.6
BuildID: 20151121035032
Gaia: a8a365704d98788d6842f0d88589fec96beb6e08
Gecko: abbd213422a560f1180c4ec6e3bf4792c2ea81ba
Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a
Version: 45.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0

First Learn More link not working
Device: Flame 2.6
BuildID: 20151123025227
Gaia: bae13c9ac6a91beecd7c94384e2aef25ed1a3214
Gecko: db77a24c37698b4e71f8ba0fba170a0c157fc1f9
Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a
Version: 45.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0

Last Learn More link not working.
Device: Flame 2.6
BuildID: 20151213223232
Gaia: d886e152b42e557db612470d3417fe2947cbdeee
Gecko: 871d92a1b0701ad79780989bf2ae335d4a19f138
Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a
Version: 45.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0

First Broken 
Environmental Variables:
Device: Flame 2.6
BuildID: 20151214025632
Gaia: ad15b4f1f50f4e28170a069f049e5bdeec8d15cc
Gecko: 99137d6d4061f408ae0869122649d8bdf489cc30
Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a
Version: 45.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0
QA Whiteboard: [severe][MGSEI-Triage+] → [severe][MGSEI-Triage+][QAnalyst-Triage?]
Flags: needinfo?(ktucker)
QA Whiteboard: [severe][MGSEI-Triage+][QAnalyst-Triage?] → [severe][MGSEI-Triage+][QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Hi Zibi,
I have tried to find regression in builds which before changeset a8a3657, but I also can’t reproduce this bug by the STR in comment 0 on them.

Actual results: "Learn more" works normally and the page of ftc.gov COPPA appear. And homescreen shows correctly.
Flags: needinfo?(wenqiuhong)
ok, taking it again. Will try to debug this week.
Assignee: nobody → gandalf
Flags: needinfo?(gandalf)
Comment on attachment 8712879 [details] [review]
[gaia] zbraniecki:1234783-fix-coppa-link-listener-binding > mozilla-b2g:master

One of those days when I question if I should be a software engineer at all.

So sorry for that - I obviously didn't understand what I wrote in bug 1224065. I basically made the same element get new event listener added *every* time the error is displayed without *ever* removing it.

In the STR the user is binding the link twice and then firing it which makes the entrySheet show and close at the same time :/

This should fix it.

Ferjm, that's the last regression from the FxA module that I know of. I hope with it, we'll be good now.
Attachment #8712879 - Flags: review?(ferjmoreno)
Attachment #8712879 - Flags: review?(ferjmoreno) → review+
Commit: https://github.com/mozilla-b2g/gaia/commit/5edad8681a00f301fe78a614b2de62fe551bdb3a
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
This issue is verified fixed on the latest Aries and Flame 2.6 builds.
The "Learn More" link correctly takes the user to the COPPA page, and leaves the Homescreen functional and unaltered.

Environmental Variables:
Device: Aries 2.6
BuildID: 20160201114120
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: 4d224eb479016d230706363d36c415c2f4960e75
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

Environmental Variables:
Device: Flame 2.6 [512MB]
BuildID: 20160201030209
Gaia: 4f0e2a1a42a2d049b6fe8f4f095cdcdf0fd5465c
Gecko: 941033a51983ddec2d99aa9f868a54c0196a4075
Gonk: 8a066f7fa7410e32b58def35f322aa33f03db283
Version: 46.0a1 (2.6) 
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:46.0) Gecko/46.0 Firefox/46.0
Status: RESOLVED → VERIFIED
QA Whiteboard: [severe][MGSEI-Triage+][QAnalyst-Triage+] → [severe][MGSEI-Triage+][QAnalyst-Triage?]
Flags: needinfo?(ktucker)
QA Whiteboard: [severe][MGSEI-Triage+][QAnalyst-Triage?] → [severe][MGSEI-Triage+][QAnalyst-Triage+]
Flags: needinfo?(ktucker)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: