Closed Bug 1063039 Opened 10 years ago Closed 10 years ago

Status bar needs to ignore continuous 'audio-channel-changed' event if the channel is the same.

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 fixed, b2g-v2.2 fixed)

RESOLVED FIXED
2.1 S4 (12sep)
Tracking Status
b2g-v2.1 --- fixed
b2g-v2.2 --- fixed

People

(Reporter: yzen, Assigned: yzen)

References

Details

(Keywords: access)

Attachments

(1 file)

'audio-channel-changed' event is fired every time when screen reader speaks. This triggers the redraw based on audio play icon and, if screen reader focus is inside the statusbar, the focus also jumps.
Attached file Github pull request.
This also improves performance when the screen reader is on.
Attachment #8484398 - Flags: review?(alive)
Assignee: nobody → yzenevich
Status: NEW → ASSIGNED
Comment on attachment 8484398 [details] [review]
Github pull request.

I think this summary should be corrected to
"Status bar needs to ignore continuous 'audio-channel-changed' event if the channel is the same."
Attachment #8484398 - Flags: review?(alive) → review+
Summary: Status bar needs to ignore 'audio-channel-changed' event when the screen reader speaks. → Status bar needs to ignore continuous 'audio-channel-changed' event if the channel is the same.
This is a change to significantly improve system performance when the screen reader is on.

[Bug caused by] every time screen reader speaks, it is accompanied by the 'audio-channel-changed' event, even though the channel does not change. This triggers a complete status bar rewrite that affects the overall performance.
[User impact] If anyone enables the screen reader on the device, they will see a noticable performance hit when using it.
[Risk to taking this patch] The pull request is fairly simple + there are unit tests along with it.
[String changes made] None
Comment on attachment 8484398 [details] [review]
Github pull request.

This is a change to significantly improve system performance when the screen reader is on.

[Bug caused by] (feature/regressing bug #): every time screen reader speaks, it is accompanied by the 'audio-channel-changed' event, even though the channel does not change. This triggers a complete status bar rewrite that affects the overall performance.

[User impact] if declined: If anyone enables the screen reader on the device, they will see a noticable performance hit when using it.

[Testing completed]: New unit tests pass on try.

[Risk to taking this patch] (and alternatives if risky): The pull request is fairly simple + there are unit tests along with it.

[String changes made]: None
Attachment #8484398 - Flags: approval-gaia-v2.1?
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Attachment #8484398 - Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: