Closed
Bug 1215216
Opened 11 years ago
Closed 11 years ago
Screen Reader tutorial audio plays every time the device is restarted.
Categories
(Firefox OS Graveyard :: Gaia::System::Accessibility, defect, P3)
Firefox OS Graveyard
Gaia::System::Accessibility
ARM
Gonk (Firefox OS)
Tracking
(blocking-b2g:2.5+, b2g-master affected)
| Tracking | Status | |
|---|---|---|
| b2g-master | --- | affected |
People
(Reporter: Marty, Assigned: sfoster)
References
Details
(Keywords: regression, Whiteboard: [2.5-Daily-Testing][Spark])
Attachments
(1 file, 1 external file)
|
409.84 KB,
text/plain
|
Details |
Description:
About 15 seconds after device start-up, the "To enable screen reader..." audio message will play. This occurs every time the user starts the device, after they have completed the FTU, regardless if the user has interacted with the device during that time frame.
Additionally, if the user actually is in the FTU, the screen reader message will loop, repeating itself, sometimes cutting itself off early.
Repro Steps:
1) Update a Aries to 20151015110122
2) From the Homescreen, long press the power button and restart the device.
3) Wait 15 seconds after the device has finished booting up.
Actual:
The Screen Reader audio tutorial will play every time the device is rebooted.
Expected:
The Screen Reader audio tutorial is only played automatically during the FTU.
Environmental Variables:
Device: Aries 2.5
Build ID: 20151015110122
Gaia: 40ae7c292a36156458c66712b4bd61ecbe69272a
Gecko: e193b4da0a8c1025aa76a403c64663ff1cd41709
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 44.0a1 (2.5)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0
Repro frequency: 8/8
See attached: Logcat
| Reporter | ||
Comment 1•11 years ago
|
||
This issue DOES occur on the latest Flame 2.5 build.
The Screen Reader audio tutorial will play every time the device is rebooted.
Environmental Variables:
Device: Flame 2.5
BuildID: 20151015030226
Gaia: 40ae7c292a36156458c66712b4bd61ecbe69272a
Gecko: e193b4da0a8c1025aa76a403c64663ff1cd41709
Gonk: c4779d6da0f85894b1f78f0351b43f2949e8decd
Version: 44.0a1 (2.5)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0
************************
This issue does NOT occur on yesterday's Aries 2.5 build.
The Screen Reader audio tutorial is only played automatically during the FTU.
Environmental Variables:
Device: Aries 2.5
BuildID: 20151014133333
Gaia: df7683e4f7329c567deb487d11317578c6930246
Gecko: c3c027f6070db795bc59ba57795b8e36fde2471b
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 44.0a1 (2.5)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Updated•11 years ago
|
blocking-b2g: --- → 2.5?
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Keywords: regressionwindow-wanted
Updated•11 years ago
|
QA Contact: pcheng
Comment 2•11 years ago
|
||
b2g-inbound regression window:
Last Working
Device: Flame 2.5
BuildID: 20151014180850
Gaia: 7d3874b4c1ac7769c4e69cd6994274f488fe9fc1
Gecko: a85f4bd943162a32ff0e4e7f246f718d7eb3d6e6
Version: 44.0a1 (2.5)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0
First Broken
Device: Flame 2.5
BuildID: 20151014183349
Gaia: 7a9f94fd8fe809424e6cd83a9dbc9af31a659872
Gecko: d2259a9634aa2d0b29f00231f7e822e73d9d553f
Version: 44.0a1 (2.5)
Firmware Version: v18D
User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0
Last Working Gaia First Broken Gecko - no repro
Gaia: 7d3874b4c1ac7769c4e69cd6994274f488fe9fc1
Gecko: d2259a9634aa2d0b29f00231f7e822e73d9d553f
Last Working Gecko First Broken Gaia - repro
Gaia: 7a9f94fd8fe809424e6cd83a9dbc9af31a659872
Gecko: a85f4bd943162a32ff0e4e7f246f718d7eb3d6e6
Gaia pushlog:
https://github.com/mozilla-b2g/gaia/compare/7d3874b4c1ac7769c4e69cd6994274f488fe9fc1...7a9f94fd8fe809424e6cd83a9dbc9af31a659872
Caused by changes made in Bug 1193587.
Comment 3•11 years ago
|
||
Sam this issue seems to have been caused by bug 1193587. Can you please take a look?
Blocks: 1193587
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmercado) → needinfo?(sfoster)
| Assignee | ||
Comment 4•11 years ago
|
||
Ah interesting, I had a note to file this as I ran into it a lot while testing late customization in the FTU. Turns out it was my fault? :)
Assignee: nobody → sfoster
Flags: needinfo?(sfoster)
| Assignee | ||
Comment 5•11 years ago
|
||
Ok, I have the culprit: https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/ftu_launcher.js#L40
Preparing a patch.
Priority: -- → P3
Target Milestone: --- → FxOS-S9 (16Oct)
| Assignee | ||
Comment 6•11 years ago
|
||
As the FtuLauncher has an event prefix of 'ftu', when it completes its 'start', it publishes a 'ftustarted' event. Accessibility is listening for this event and confuses it with the event it is actually waiting for, which is a relayed IAC 'started' event from the FTU. So its just an event name overloading issue. I have a patch in th eworks.
Comment 7•11 years ago
|
||
(In reply to Sam Foster [:sfoster] from comment #6)
> As the FtuLauncher has an event prefix of 'ftu', when it completes its
> 'start', it publishes a 'ftustarted' event. Accessibility is listening for
> this event and confuses it with the event it is actually waiting for, which
> is a relayed IAC 'started' event from the FTU. So its just an event name
> overloading issue. I have a patch in th eworks.
Thanks this also fixes an issue where even if the FTU is present, and stepped through, the screen reader is heard.
Updated•11 years ago
|
blocking-b2g: 2.5? → 2.5+
Comment 8•11 years ago
|
||
| Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 8674973 [details] [review]
[gaia] sfoster:accessibility-setup-bug-1215216 > mozilla-b2g:master
Kevin, I think this is driving everyone a bit crazy so I was looking for a reviewer in an ASAP-friendly timezone. But please forward along if you prefer.
Attachment #8674973 -
Flags: review?(kevingrandon)
| Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8674973 [details] [review]
[gaia] sfoster:accessibility-setup-bug-1215216 > mozilla-b2g:master
In this patch I also added a window.removeEventListener('ftu-comms') where you remove the 'ftustep' listener. Does that look ok?
Attachment #8674973 -
Flags: feedback?(yzenevich)
Comment 11•11 years ago
|
||
Comment on attachment 8674973 [details] [review]
[gaia] sfoster:accessibility-setup-bug-1215216 > mozilla-b2g:master
Hi Sam, it seems like you handled started event but a11y also relies on the step event that doesn't seem to be updated.
Attachment #8674973 -
Flags: feedback?(yzenevich)
| Assignee | ||
Comment 12•11 years ago
|
||
> Hi Sam, it seems like you handled started event but a11y also relies on the
> step event that doesn't seem to be updated.
I didn't make any change to the ftustep event (re-published by FtuLauncher) but you're right it would be more consistent to handle both the same way. Will update the patch.
| Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 8674973 [details] [review]
[gaia] sfoster:accessibility-setup-bug-1215216 > mozilla-b2g:master
Yura I've updated the PR to use the ftucomms events for both 'started' and 'step'. I've run through this a few different ways, but can you check the logic and end result remain the same?
Attachment #8674973 -
Flags: feedback?(yzenevich)
Comment 14•11 years ago
|
||
Comment on attachment 8674973 [details] [review]
[gaia] sfoster:accessibility-setup-bug-1215216 > mozilla-b2g:master
Works well now thanks!
Attachment #8674973 -
Flags: feedback?(yzenevich) → feedback+
Comment 15•11 years ago
|
||
Comment on attachment 8674973 [details] [review]
[gaia] sfoster:accessibility-setup-bug-1215216 > mozilla-b2g:master
Better, but I think we should kill this for the first boot /w FTU as well ;-)
Attachment #8674973 -
Flags: review?(kevingrandon) → review+
Comment 16•11 years ago
|
||
Gaia-try links are busted, but I saw this pas on the gaia treeherder list. Should be good to land. Thanks!
In master: https://github.com/mozilla-b2g/gaia/commit/bff003a5c8968b62dad4d60f76b9fe39ecc63eb3
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•