Skip to content

Fix-up of PR 12195: Properly reset say all when cancelling speech#12228

Merged
seanbudd merged 1 commit into
nvaccess:masterfrom
lukaszgo1:I12225
Mar 30, 2021
Merged

Fix-up of PR 12195: Properly reset say all when cancelling speech#12228
seanbudd merged 1 commit into
nvaccess:masterfrom
lukaszgo1:I12225

Conversation

@lukaszgo1

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #12225

Summary of the issue:

PR #12195 removed speech.speakWithoutPauses which was an alias for speech._speakWithoutPauses. While all usages of speech.speakWithoutPauses were found and fixed it turned out than when cancelling speech during say all speech._speakWithoutPauses was cleared rather than instance of SpeakWithoutPauses used for say all.

Description of how this pull request fixes the issue:

Now the instance of SpeechWithoutPauses which is used during say all is cleared. I've added function to sayAllHandler which creates it first if necessary, and ensures that the single instance is being used for say all.

Testing strategy:

I've ensured that say all no longer mixes content from different runs.

Known issues with pull request:

None known

Change log entry:

None needed: bug not in a release.

Code Review Checklist:

This checklist is a reminder of things commonly forgotten in a new PR.
Authors, please do a self-review and confirm you have considered the following items.
Mark items you have considered by checking them.
You can do this when editing the Pull request description with an x: [ ] becomes [x].
You can also check the checkboxes after the PR is created.

  • Pull Request description is up to date.
  • Unit tests.
  • System (end to end) tests.
  • Manual tests.
  • User Documentation.
  • Change log entry.
  • Context sensitive help for GUI changes.

@lukaszgo1

Copy link
Copy Markdown
Contributor Author

cc @ABuffEr

@lukaszgo1

Copy link
Copy Markdown
Contributor Author

cc @michaelDCurran @feerrenrut @seanbudd I'd be great not to forget this for 2021.1.

@codeofdusk

Copy link
Copy Markdown
Contributor

Yes, please prioritize this. I've been running into this bug a lot!

@ABuffEr

ABuffEr commented Mar 29, 2021

Copy link
Copy Markdown
Contributor

Yes, please prioritize this. I've been running into this bug a lot!

I agree. Despite what I said in #12225, this issue affects not only browsers, so it's very annoying when reading.

@seanbudd seanbudd added this to the 2021.1 milestone Mar 29, 2021

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lukaszgo1

@seanbudd seanbudd merged commit 55a9b32 into nvaccess:master Mar 30, 2021
@lukaszgo1 lukaszgo1 deleted the I12225 branch March 30, 2021 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong text chunks during say all in browsers

4 participants