-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
Avoid freeze in Windows API Level 0 and 1 console when UIA support is enabled #14703
Conversation
Better issue comment Co-authored-by: Bill Dengler <[email protected]>
See test results for failed build of commit ff21508d8b |
Honestly, I'm not the biggest fan of this approach (or, for that matter, putting any more work into the API <2 console). There are changes coming down the pipeline that I'm not at liberty to discuss in detail (I would if I could), so I'd suggest holding off on any changes for now. CC @DHowett. |
Shouldn't NVDA still support the API <2 console? Can you explain why not? |
Accept seanbudd suggestion. Co-authored-by: Sean Budd <[email protected]>
@cary-rowen, can you test the last try-build when available? |
See test results for failed build of commit 5900fdb1ba |
Ok, I found a way that can accomplish @codeofdusk requests. |
Rename to _IGNORE_TRAILING_WHITESPACE_LENGTH to keep it private Co-authored-by: Sean Budd <[email protected]>
Better comment for late import Co-authored-by: Sean Budd <[email protected]>
Readability: rename and move IGNORE_TRAILING_WHITESPACE_LENGTH into function Co-authored-by: Sean Budd <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ABuffEr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved pending my suggested comment clarifications (for consistency in style of references)
Ok for me. |
Better comment about ConsoleUIATextInfo Co-authored-by: Bill Dengler <[email protected]>
Better comment describing solved issue Co-authored-by: Bill Dengler <[email protected]>
See test results for failed build of commit 7bad1d47d5 |
Hi @seanbudd, |
If you're able to fix the bug by patching |
…pport is enabled (nvaccess#14703)" This reverts commit 14bc6bd.
I've opened #14815. |
Link to issue number:
Fixes #14689
Summary of the issue:
Due to a bug in API Level 0 and 1 consoles (see microsoft/terminal/#5243), sometimes NVDA freezes during dictionary processing of console text, containing a huge amount of blank lines.
Description of user facing changes
None.
Description of development approach
If current focus object has apiLevel 0 or 1, and difference between regular text and text with rightside blank lines stripped is greater than 100, we use cleaned text for dictionary processing.
Testing strategy:
Manual, with #14689 str.
Known issues with pull request:
None.
Code Review Checklist: