Context
Issue found while trying to reproduce #13727. Opened as a new issue as per #13727 (comment).
Cc @seanbudd
Steps to reproduce:
- Use OneCore non-English voice (mine is Hortense - French)
- Ensure NVDA has automatic language switching enabled (during my tests, automatic dialect switching is disabled however)
- Open the following URL:
data:text/html,<p>Hello</p><p lang="en">world</p>
- Read the page
Actual behavior:
- With NVDA 2021.3.4 (portable), the whole page is read in French since I have no English OneCore voice.
- With NVDA 2022.1 (installed), the word "world" is not read and an error is logged.
Here are the logs for both versions of NVDA:
Expected behavior:
OneCore reads the whole page; if no English voice is available the default (French) voice should be used instead.
!additional note
If reading 5 times the line "world" causing the error, the synth switches to eSpeak. Cf log:
OneCoreSwitchToESpeak.log
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
2022.1
Windows version:
Windows 10 2004 (x64) build 19041.388
Name and version of other software in use when reproducing the issue:
N/A
Other information about your system:
- Windows French, NVDA language default (thus French)
- In the list of OneCore voices, I have French voices (Hortense, Julie, Paul) and German voices (Stefan, Katja, Hedda) but no English voice. I do not remember if I had never had one, if I have uninstalled it (what is very unlikely but why not for tests), or if this voice has disappeared without my willing (e.g. during an update or an installation of something).
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
As written earlier, 2021.3.4 (portable) does not exhibit this issue.
If NVDA add-ons are disabled, is your problem still occurring?
Test done without add-ons
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Yes
Context
Issue found while trying to reproduce #13727. Opened as a new issue as per #13727 (comment).
Cc @seanbudd
Steps to reproduce:
data:text/html,<p>Hello</p><p lang="en">world</p>Actual behavior:
Here are the logs for both versions of NVDA:
Expected behavior:
OneCore reads the whole page; if no English voice is available the default (French) voice should be used instead.
!additional note
If reading 5 times the line "world" causing the error, the synth switches to eSpeak. Cf log:
OneCoreSwitchToESpeak.log
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
2022.1
Windows version:
Windows 10 2004 (x64) build 19041.388
Name and version of other software in use when reproducing the issue:
N/A
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
As written earlier, 2021.3.4 (portable) does not exhibit this issue.
If NVDA add-ons are disabled, is your problem still occurring?
Test done without add-ons
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Yes