Conversation
…g, just return early without doing anything. Otherwise, scripts could become backed up and NVDA will become unresponsive.
WalkthroughThe recent update introduces enhancements to the NVDA screen reader, particularly in handling keyboard navigation in Microsoft Word's browse mode. Key down event handling has been modified to prevent time accumulation when keys are held down, addressing performance issues. The update also improves the usability of braille display routing keys for cursor movement and refines the update process for add-ons. Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add Documentation and Community
|
There was a problem hiding this comment.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
user_docs/en/changes.md (1)
46-46: Correct the capitalization of "Microsoft Word".The term "Microsoft word" should be capitalized correctly as "Microsoft Word".
* NVDA no longer becomes unresponsive if holding down an arrow key for a long time while in NVDA browse mode, in particular Microsoft Word. (#16812)
See test results for failed build of commit cfaf971a0a |
|
See test results for failed build of commit cfaf971a0a |
|
Thanks for this fix. It's very nice. I hope we won't have side effects though (as explained in my review comment). |
Co-authored-by: Cyrille Bougot <cyrille.bougot2@laposte.net>
Link to issue number:
Fixes #16812
Summary of the issue:
If holding down an arrow key in NvDA browse mode, such as in Microsoft Word, NVDA can become unresponsive if holding down the key for a long period of time. This is because moving in browse mode can be very costly, and scripts become backed up.
Description of user facing changes
NVDA no longer becomes unresponsive if holding down an arrow key for a long time while in NVDA browse mode, in particular in Microsoft word.
Description of development approach
CursorManager._caretMovementScriptHelper: return early if another script is waiting. There is no point doing something costly when another script is going to happen anyway.
Testing strategy:
with both UIA enabled and disabled for MS Word:
Known issues with pull request:
None known.
Code Review Checklist:
Summary by CodeRabbit