Skip to content

Ensure fallback to NoBraille if configured display cannot be initialized#15207

Merged
seanbudd merged 1 commit into
betafrom
fix_pr14524
Jul 28, 2023
Merged

Ensure fallback to NoBraille if configured display cannot be initialized#15207
seanbudd merged 1 commit into
betafrom
fix_pr14524

Conversation

@michaelDCurran

@michaelDCurran michaelDCurran commented Jul 28, 2023

Copy link
Copy Markdown
Member

Link to issue number:

Addresses issue introduced by pr #14524

Summary of the issue:

Reports from users that if a specifically configured braille display cannot be initialized on start-up, then the Braille category in the NVDA settings dialog is broken and does not show a valid braille driver (noBraille or otherwise).

Description of user facing changes

The Braille category in NVDA settings will continue to be usable if the configured Braille display cannot be initialized on start-up.

Description of development approach

In braille.handler.setDisplayByName if setting the display failed, the display is not set to NoBraille if the display was (not) already NoBraille. Previously this logic was incorrectly reversed.

Testing strategy:

  • Set braille driver to something that does not exist.
  • Restart NVDA.
  • Try to open the Braille category in NVDA settings.

Known issues with pull request:

None known.

Change log entries:

New features
Changes
Bug fixes
For Developers

Code Review Checklist:

  • Pull Request description:
    • description is up to date
    • change log entries
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • API is compatible with existing add-ons.
  • Documentation:
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • Security precautions taken.

@michaelDCurran michaelDCurran requested a review from a team as a code owner July 28, 2023 02:19
@michaelDCurran michaelDCurran requested review from seanbudd and removed request for a team July 28, 2023 02:19
@seanbudd seanbudd added this to the 2023.2 milestone Jul 28, 2023
@seanbudd seanbudd merged commit 249985e into beta Jul 28, 2023
@seanbudd seanbudd deleted the fix_pr14524 branch July 28, 2023 04:43

@LeonarddeR LeonarddeR left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for fixing this! Looks good.

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.

3 participants