Fallback to auto synth instead of silence if synth change failed#15119
Merged
Conversation
See test results for failed build of commit 61e6454aa8 |
See test results for failed build of commit 3a1b47985f |
See test results for failed build of commit 9395e86953 |
michaelDCurran
approved these changes
Jul 14, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Link to issue number:
Fixes #15096
Summary of the issue:
When an active profile has the synthesizer set to silence, and a user switches profiles to a synthesizer which fails to load, NVDA fails back to the silence synthesizer.
This is because the default behaviour on failure is to roll back to the previous synthesizer, which is appropriate except for silence.
As this is an attempt to change from silence to speech, instead NVDA should fallback to the next synthesizer, rather than the previous synthesizer.
Description of user facing changes
NVDA falls back to the silence synthesizer when:
Description of development approach
ensure the previous synthesizer we are switching back to is not silence.
Instead, the synth will switch to the next one, which may eventually reach silence if subsequent synthesizers fail to load.
Testing strategy:
Confirm with @fernando-jose-silva
Known issues with pull request:
It would be ideal for us to switch back to OneCore before cycling to the next synthesizer, however it's impossible to do this without additional synth history state tracking
Change log entries:
N/A small change
Code Review Checklist: