-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
text style navigation: Severe freeze when using UIA in MS Word and no next or previous style has been found #16546
Comments
Not sure iif anything can be done here - it appears that TextInfo implementation in MSWord is just that slow. As always an option would be to completely disable style navigation in MSWord even when UIA enabled. |
Yes, I think at this stage please disable style navigation in MS Word. #16214 may make creating a faster method possible in future |
this is really bad news, to me style navigation is used even more frequently in MS Word than in a web browser. |
The following is a comment more general that has a broader scope than only the current issue. It seems that many advanced navigation features have been disabled due to corner case issues. I'd suggest to add at least a feature flag controlling enabling/disabling the problematic cases of advanced nav features with the following values:
Since enabling all advanced navigation features can lead to undesirable effects such as freeze or feature not working in some specific cases, the flag should be located in Advanced Settings panel. |
What are corner case issues in your opinion?
I strongly disagree with this approach. This would just give enough confort in just letting the feature buggy as it is in certain cases just because people can turn it on or off. The feature flag has blown up NVDA with features that introduce problems when enabling or disabling them. And no one removes the feature flags when they are not needed anymore. Moreover, old and well tested feature flags are still part of the GUI, See for example the WASAPI feature flag, the annotations feature flags etc. This makes investigation very complicated in my view, when users come up with problems. |
Speaking specifically about text style navigation, we are talking about a script that can be assigned or unassigned. We are not talking about a setting. So this wouldn't fit into such a feature flag environment anyway. |
OK @Adriani90, what you write about introducing whole and well tested features makes sense and I finally agree with you. You've convinced me. makes sense |
@cary-rowen - I wouldn't be too worried. it's likely in future more optimized methods will be possible. We just can't ship this as-is in 2024.2. |
Steps to reproduce:
Actual behavior:
NVDA freezes for at least 10 seconds and keyboard is locked when no next or no previous style has been found, following is written to the log:
No previous style:
Expected behavior:
No freeze when no next or previous styles have been found.
NVDA logs, crash dumps and other attachments:
n/a
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-31919,383b2044 (2024.3.0.31919)
Windows version:
Windows 11 23 H2
Name and version of other software in use when reproducing the issue:
MS Office Word 365 MSO (Version 2403 Build 16.0.17425.20176) 64 Bit
Other information about your system:
Asus ROG Strix Intel I12900HK 5 ghz, 32gb DDR, Grafics NVIDIA GTX 3070TI 8 GB dedicated storage.
Other questions
Does the issue still occur after restarting your computer?
yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
no
If NVDA add-ons are disabled, is your problem still occurring?
No add-ons in use
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
yes
ONKYO.docx
The text was updated successfully, but these errors were encountered: