Skip to content

Fix-up of 12025: No longer fail to report content of nonfocused text fields in Firefox#12319

Merged
michaelDCurran merged 1 commit into
nvaccess:masterfrom
lukaszgo1:I12114
Apr 21, 2021
Merged

Fix-up of 12025: No longer fail to report content of nonfocused text fields in Firefox#12319
michaelDCurran merged 1 commit into
nvaccess:masterfrom
lukaszgo1:I12114

Conversation

@lukaszgo1

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #12114

Summary of the issue:

PR #12025 started catching only very specific exceptions when getting selection of edit fields. However in Firefox attempting to get caret for non focused edit fields results in RuntimeError which made it impossible to speak these controls.

Description of how this pull request fixes the issue:

When getting content of edit fields were catching RuntimeError as well and threading this situation like no selection.

Testing strategy:

Ensured that STR from #12114 is no longer reproducible
Ensured that error sound no longer plays each time when accepting autocomplete in Firefox address bar

This code cannot be unit tested and we do not have system tests for Firefox.

Known issues with pull request:

None known

Change log entries:

None needed - bug not in a release.

Code Review Checklist:

  • 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 @jcsteh @michaelDCurran

@lukaszgo1 lukaszgo1 marked this pull request as ready for review April 21, 2021 20:30
@lukaszgo1 lukaszgo1 requested a review from a team as a code owner April 21, 2021 20:30
@lukaszgo1 lukaszgo1 requested a review from seanbudd April 21, 2021 20:30
@michaelDCurran michaelDCurran merged commit a94f5fe into nvaccess:master Apr 21, 2021
@nvaccessAuto nvaccessAuto added this to the 2021.1 milestone Apr 21, 2021
@lukaszgo1 lukaszgo1 deleted the I12114 branch April 22, 2021 07: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.

Exception when trying to interact with a text box in Firefox that isn't focused

3 participants