Skip to content

Various fixes in advanced settings panel#16275

Merged
seanbudd merged 4 commits into
nvaccess:masterfrom
CyrilleB79:fixAdvSettings
Mar 8, 2024
Merged

Various fixes in advanced settings panel#16275
seanbudd merged 4 commits into
nvaccess:masterfrom
CyrilleB79:fixAdvSettings

Conversation

@CyrilleB79

@CyrilleB79 CyrilleB79 commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

Link to issue number:

Fix-up of #16031
Fix-up of other older PRs.

Summary of the issue:

Various little issues in advanced settings panel:

  • in advanced settings, option regex for text paragraph navigation feature:
    • restoring default advanced settings do not restore this field
    • a wrong regex syntax in this field do not trigger the error message as expected
  • the code to restore defaults in advanced settings panel is working by chance for some combo boxes, just because the default option is the first one.

Description of user facing changes

  • restoring advanced settings will now restore the Regex for Text paragraph navigation option
  • a wrong regex syntax for the Regex for Text paragraph navigation will now trigger an error message

Also while at it, fixed:

  • a translator's comment
  • a call to self.Layout that probably needs to be called after all the controls are created

Description of development approach

See code

Testing strategy:

Manual tests:

  • Tested restoration for combo boxes, as well as for regex
  • tried to save a badly formed regex

Known issues with pull request:

None

Code Review Checklist:

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

Cc @mltony

@CyrilleB79 CyrilleB79 marked this pull request as ready for review March 7, 2024 21:25
@CyrilleB79 CyrilleB79 requested a review from a team as a code owner March 7, 2024 21:25
@CyrilleB79 CyrilleB79 requested a review from SaschaCowley March 7, 2024 21:25

@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 for the good catches @CyrilleB79

@seanbudd seanbudd merged commit dd44cbb into nvaccess:master Mar 8, 2024
@nvaccessAuto nvaccessAuto added this to the 2024.2 milestone Mar 8, 2024
@CyrilleB79 CyrilleB79 deleted the fixAdvSettings branch March 8, 2024 08:39
Adriani90 pushed a commit to Adriani90/nvda that referenced this pull request Mar 13, 2024
Fix-up of nvaccess#16031
Fix-up of other older PRs.

Summary of the issue:
Various little issues in advanced settings panel:

in advanced settings, option regex for text paragraph navigation feature:
restoring default advanced settings do not restore this field
a wrong regex syntax in this field do not trigger the error message as expected
the code to restore defaults in advanced settings panel is working by chance for some combo boxes, just because the default option is the first one.
Description of user facing changes
restoring advanced settings will now restore the Regex for Text paragraph navigation option
a wrong regex syntax for the Regex for Text paragraph navigation will now trigger an error message
Also while at it, fixed:

a translator's comment
a call to self.Layout that probably needs to be called after all the controls are created
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