Skip to content

Beta#20558

Open
andavag wants to merge 3 commits into
nvaccess:betafrom
andavag:beta
Open

Beta#20558
andavag wants to merge 3 commits into
nvaccess:betafrom
andavag:beta

Conversation

@andavag

@andavag andavag commented Jul 26, 2026

Copy link
Copy Markdown

Link to issue number:

Closes #20425

Summary of the issue:

In the Math settings panel, the "Decimal separator for numbers" setting offered a "Custom" option that did nothing; the suggested solution was to remove the option.

Description of user facing changes:

Removed the non-functional "Custom" choice from the "Decimal separator for numbers" combo box in Math settings. The remaining choices are Automatic, "." and ",".

Description of developer facing changes:

None

Description of development approach:

  • Removed CUSTOM = "Custom" enum member and its translators label from DecimalSeparatorOption in source/mathPres/MathCAT/preferences.py.
  • Updated the stale comment in source/config/configSpec.py from # Auto, '.', ',', Custom to # Auto, '.', ',' to reflect the available options.
  • Added a new subsection ###### Decimal separator for numbers {#MathSpeechDecimalSeparator} to user_docs/en/userGuide.md, placed between the "Language" and "Speech Style" options. This provides documentation for the setting and supplies the help anchor that the settings dialog references.
  • Added a change log entry under "Changes" in user_docs/en/changes.md.

Testing strategy:

  • Ran the full unit test suite (rununittests.bat): 1168 tests pass.
  • Ran ruff check / ruff format on the changed files: clean.
  • Manual testing: opened NVDA Settings → Math and confirmed the combo lists only Automatic, "." and ",".

Known issues with pull request:

None

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Context sensitive help for GUI changes
    • [N/A] Developer / Technical Documentation (no API change)
  • Testing:
    • Manual testing
    • Unit tests (ran full suite: 1168 tests pass)
    • [N/A] System (end to end) tests (no new test coverage needed for option removal)
  • 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.

andavag and others added 3 commits July 25, 2026 00:17
…vaccess#20425)

The "Custom" value in DecimalSeparatorOption had no UI to configure it and
was never forwarded to MathCAT, whose DecimalSeparator preference only accepts
Auto, "." and ",". Remove the enum member and its label, fix the stale
configSpec comment, and add the missing User Guide section for the setting
(providing the MathSpeechDecimalSeparator anchor the settings dialog links to).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Remove non-functional "Custom" option from MathCAT decimal separator …
@andavag
andavag requested review from a team as code owners July 26, 2026 08:05
@andavag andavag closed this Jul 26, 2026
@andavag andavag reopened this Jul 26, 2026
@OzancanKaratas

Copy link
Copy Markdown
Collaborator

@andavag, thank you for your contribution. Please

  • edit the pull request title,
  • edit the “Link to issue number” section.

It should look like this:

Link to issue number

Closes #20425

Best regards,
Ozancan Karataş

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.

2 participants