Open Bug 1290442 Opened 8 years ago Updated 2 years ago

[Mac][Narrate] The tab sound indicator doesn't work properly for the voices introduced since Mac OS X 10.10

Categories

(Core :: Web Speech, defect)

x86_64
macOS
defect

Tracking

()

Tracking Status
firefox48 --- affected
firefox49 --- affected
firefox50 --- affected

People

(Reporter: cbadau, Unassigned)

References

Details

[Affected versions]:
- latest Nightly 50.0a1
- latest Aurora 49.0a2
- Firefox 48

[Affected platforms]:
- Mac OS X 10.10.5
- Mac OS X 10.11
- Mac OS X 10.12 (preview)

[Steps to reproduce]:
1. Launch Firefox.
2. Open a page in Reader Mode.
3. In the left toolbar, click the third icon from the top (the Narrate icon). 4. Select a voice from voice-select and click the Start button.
   -> Note: The tab sound indicator appears in the tab.
4. Click the tab sound indicator (speaker icon) in the tab to mute audio on the page.

[Expected result]:
- Narration should be muted immediately. 

[Actual result]:
- Narration is muted immediately only for the voices which were pre-installed (dafault) on Mac OS X 10.9.5. 
- For the voices introduced since Mac OS X 10.10 operating system, the tab sound indicator doesn't work properly:
    - Alice (Italian)
    - Alva (Swedish)
    - Amelie (French)
    - Anna (German)
    - Carmit (Hebrew)
    - Damayanti (Indonesian)
    - Daniel (English)
    - Diego (Spanish)
    - Ellen (Dutch)
    - Fiona (English)
    - Ioana (Romanian)
    - Joana (Portuguese)
    - Kanya (Thai)
    - Kyoko (Japanese)
    - Laura (Slovak)
    - Lekha (Hindi)
    - Luciana (Portuguese)
    - Maged (Arabic)
    - Mariska (Hungarian)
    - Mei-Jia (Chinese)
    - Melina (Greek)
    - Milena (Russian)
    - Moira (English)
    - Monica (Spanish)
    - Nora (Norwegian Bokmal)
    - Paulina (Spanish)
    - Samantha (English)
    - Sara (Danish)
    - Satu (Finnish)
    - Sin-ji (Chinese)
    - Tessa (English)
    - Thomas (French)
    - Ting-Ting (Chinese)
    - Veena (English)
    - Xander (Dutch)
    - Yelda (Turkish)
    - Yuna (Korean)
    - Zosia (Polish)
    - Zuzana (Czech)

 For these voices, the tab is muted only when the narration switches to the next paragraph, not immediately. 

[Regression range]:
- It is not a regression, it reproduces since the feature landed in Firefox
Eitan, what's different about these voices and/or how hard is fixing this?
Flags: needinfo?(eitan)
See Also: → 1254262
They use a different engine.

Makoto, I'm not on Mac right now, and I think you did the first pass at the mute tab patch. Do you want to look at this?

If not, I'll grab a mac tomorrow.
Flags: needinfo?(eitan) → needinfo?(m_kato)
Component: Reader Mode → Web Speech
Product: Toolkit → Core
This depends on OS's speech service.   Although we set the volume to 0, OS's speech service doesn't apply it to current utterance immediately.  So this is a limitation of in-direct audio service.

If OSX's API can output raw audio data for speech service, this can fix by changing to direct audio service.  

Also, there is same issue for Windows as bug 1232028 and bug 1221443.
Flags: needinfo?(m_kato)
See Also: → 1221443, 1232028
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.