Skip to content

Move mathCATDir to ReadPaths#19370

Merged
SaschaCowley merged 1 commit into
betafrom
moveMathCATDir
Dec 12, 2025
Merged

Move mathCATDir to ReadPaths#19370
SaschaCowley merged 1 commit into
betafrom
moveMathCATDir

Conversation

@SaschaCowley

@SaschaCowley SaschaCowley commented Dec 11, 2025

Copy link
Copy Markdown
Member

Link to issue number:

Fixup #18323

Summary of the issue:

mathCATDir is a property of NVDAState.WritePaths, even though it is not writable by non-elevated installed copies, and it doesn't seem like we even want to write to it.

Description of user facing changes:

None

Description of developer facing changes:

mathCATDir is now a property of NVDAState.ReadDirs.

Description of development approach:

Moved mathCATDir to NVDAState._ReadDirs.
Searched for usages of mathCATDir in source/ and updated them.

Testing strategy:

Ran from source and interacted with MathML in Firefox.

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.

@SaschaCowley SaschaCowley requested a review from a team as a code owner December 11, 2025 06:57
@SaschaCowley SaschaCowley added this to the 2026.1 milestone Dec 11, 2025

@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 fix @SaschaCowley

Comment thread source/mathPres/MathCAT/localization.py
@SaschaCowley SaschaCowley merged commit cadb496 into beta Dec 12, 2025
145 of 155 checks passed
@SaschaCowley SaschaCowley deleted the moveMathCATDir branch December 12, 2025 05:14
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