Open Bug 1285226 Opened 6 years ago Updated 6 months ago

[Linux] [Narrate] The English (en-GB) voice appears four times in the list

Categories

(Toolkit :: Reader Mode, defect, P3)

x86_64
Linux
defect

Tracking

()

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

People

(Reporter: cbadau, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [reader-mode-narrate])

Attachments

(1 file)

Attached image issue.png
[Affected versions]:
- Firefox 48.0a1 (2016-03-07)
- Firefox 48 Beta 5 (2016-06-30)
- Firefox 49.0a2 (2016-07-07)
- Firefox 50.0a1 (2016-07-06)


[Affected platforms]:
- Ubuntu 14.04 64bit
- Ubuntu 13.10 32bit

[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. Open voice-select ("Voice") and observe the list of voices.

[Expected result]:
- Each voice appears only once in the list.

[Actual result]:
- The English (en-GB) voice appears four times in the list. Please see attached screenshot "issue.png". 

[Regression range]:
- It is not a regression, it reproduces since the feature landed in Firefox (Nightly 48.0a1: 2016-03-07).

[Additional notes]: 
- The issue is reproducible only on Ubuntu.
Eitan, any idea what's up with this bug? Also, can you tweak the 'affected' flags based on where we're actually shipping this (49, I think)? Should this live in Core :: Web Speech or is the reader mode narrate code doing something stupid here?
Flags: needinfo?(eitan)
I suspect this is a label choice issue. eSpeak comes with a few options for languages with many variations. For example, a Welsh and Scottish voice for en-GB. To make it more user friendly we may need to have a mapping of eSpeak voices to localized names.

Keeping the ni until we resolve this..
Priority: -- → P1
Whiteboard: [reader-mode-narrate]
Blocks: 1286221
Here is the deal..

In Linux the default voices are all eSpeak. eSpeak historically doesn't do a good job with consistent naming and correct BCP47 language tags. It also is not actively maintained anymore, which is a separate issue.

Recently a for of eSpeak was created called espeak-ng. In February of this year they did a good job in making the voice names more consistent and properly using BCP47 in language names. Distros are probably not going to package espeak-ng in the near future.

I propose creating a mapping from the old espeak voice name/language pairs to the more correct version.

This would be a change in our Linux synth support. It will propagate to Narrate in the form of a more nuanced list of british voices:

* English (en-GB)
* English (en-GB-scotland)
* English (en-GB-x-gbclan) // Northern UK accent?
* English (en-GB-x-gbcwmd) // West midlands accent?

This is not perfect at all. But at least we won't have 4 identical labels.'

I'll open a blocker for this bug.
Flags: needinfo?(eitan)
(In reply to Eitan Isaacson [:eeejay] from comment #3)
> I'll open a blocker for this bug.

Did this get opened but not marked as blocking/depending on this, or something? :-)
Flags: needinfo?(eitan)
Oops! I forgot. Here it is.
Depends on: 1294468
Flags: needinfo?(eitan)
Hi Eitan,

Looks like if Bug 1294468 is fixed then this bug could be fixed. So we can say this bug is a duplicate of Bug 1294468, right?
Flags: needinfo?(eitan)
I would keep it as a blocker. One issue may resolve another, but they are not duplicates.
Flags: needinfo?(eitan)
Priority: P1 → P3

I tested against Firefox 99.0b7(20220322185926) and it reproduces as such:

  • There are 7 English(en) options from the Voice dropdown;
  • The default voice and the voice options from the dropdown menu are the same;
You need to log in before you can comment on or make changes to this bug.