Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge beta to master #16126

Merged
merged 2 commits into from
Feb 4, 2024
Merged

Merge beta to master #16126

merged 2 commits into from
Feb 4, 2024

Conversation

seanbudd
Copy link
Member

@seanbudd seanbudd commented Feb 4, 2024

No description provided.

michaelDCurran and others added 2 commits February 2, 2024 14:15
…rkdown translation string extraction (#16119)

Several issues were discovered with the rendering of the user guide and key commands document in HTML after conversion to markdown.

Key commands document:

Previous headings for single settings are inappropriately being included in the document before the start of a settings table. E.g. Browse Mode -> Maximum line length (which has no keyboard shortcut, is being included before Use Screen layout). This therefore also breaks the Browse Mode table in to smaller tables.
Tables are not being correctly ended with a blank line as markdown requires, so sometimes subsequent headings were being shown as raw markdown as part of the previous table. e.g. The Synth settings ring heading was being shown as raw markdown within the Synthesizer Selection table.
The "Introduction" heading is incorrectly appearing at the top of the Key commands document.
There is also a small syntax error in the userGuide, causing the table listing the New Papenmire model braile keys to break in the key commands document. Specifically, the kc beginInclude command appears after the table header rather than before.

Description of user facing changes
the key commands document now renders correctly in HTML.

Description of development approach
Refactored _handleSetting in keyCommandsDoc.py to address the above issues.
this also involved correcting level calculation in the _heading method. The first heading symbol in t2t is of length 1, but in markdown it is of length 2.
Fix #16120
Related to #15400.

Summary of the issue:
Sporadic errors still occur when locking/unlocking Windows session. As per #15400, this is due to the fact that api.getFocusObject returns an NVDAObjects.NVDAObject but we use it as it was an NVDAObjects.window.Window. But that's not the case when the focus is (or was) winAPI.secureDesktop._handleSecureDesktopChange._SecureDesktopNVDAObject.

Description of user facing changes
Probably none; these errors did not seem to have any visible impact.

Description of development approach
Check the class of the object returned by api.getFocusObject before using its properties.
@seanbudd seanbudd requested review from a team as code owners February 4, 2024 22:44
@seanbudd seanbudd merged commit 0c541a9 into master Feb 4, 2024
1 of 3 checks passed
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