Closed Bug 1254262 Opened 9 years ago Closed 5 years ago

Reader mode "Narrate" feature does not obey tab-mute

Categories

(Core :: Web Speech, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1221443

People

(Reporter: dholbert, Unassigned)

References

Details

Attachments

(1 file)

STR: 1. Visit some page that supports Reader Mode, e.g. http://blog.monotonous.org/2016/03/07/narrate-a-new-feature-in-firefox-nightly/ 2. Enter Reader Mode and begin Narrate, following the steps in that article. --> NOTE: A little speaker icon appears in the tab. 3. Click the speaker icon in the tab to mute audio on the page. EXPECTED RESULTS: Narration should be muted (or maybe paused, if we want to be fancy). ACTUAL RESULTS: Narration continues playing audio on my speakers/headphones, despite the fact that I clicked the tab-mute button and the tab reports itself as being muted.
Here's a screencast showing me performing the STR. My screencast-recording tool doesn't support audio, so you'll just have to trust me that there's audio playing this whole time (after I start narration), despite my tab-mute attempts.
- CC'ing Eitan, who worked on this Narrate feature. - CC'ing Ehsan, who worked on tab-mute. - ...and marking this bug as depending on both bugs.
Depends on: 1166365, 486262
Flags: needinfo?(eitan)
This seems related to what we did in bug 1191667. I think ymmv on each platform. In Linux, Speech Dispatcher can't change the volume mid-utterance. I just tested, and it looks like the next utterance (next narrated paragraph), is slightly softer when "muted". I think we may not be handling the volume correctly, or it is a speech dispatcher bug. Either way. When muted, it should be instant. I wonder if it is worth canceling or pausing the utterance when muted on a platform that doesn't support mid-utterance changes. This is messy..
Flags: needinfo?(eitan)
Also on at least Windows, there is no sound icon in tab where the narrative is played...
I don't think this is related to bug 1260612.
(In reply to Eitan Isaacson [:eeejay] from comment #3) > When muted, it should be instant. Indeed. > I wonder if it is worth canceling or pausing the > utterance when muted on a platform that doesn't > support mid-utterance changes. Please note that a muted-narrating is in fact a cool auto-scroll feature.
I'm fairly sure this is a general issue with web speech.
Component: Reader Mode → Web Speech
Product: Toolkit → Core
(In reply to :Gijs Kruitbosch (out til 26th, no reviews) from comment #7) > I'm fairly sure this is a general issue with web speech. I confirm. For example: http://mdn.github.io/web-speech-api/speak-easy-synthesis/, the mute button doesn't work. I don't know how webspeech works, but we know if a sound is played and can't stop it.

Is this bug 1254262 a duplicate of bug 1221443?

Yeah, looks like it.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: