NVDA gives a runtime error when attempting to navigate to next different or next same style text.
IO - inputCore.InputManager.executeGesture (22:39:29.904) - winInputHook (10508):
Input: kb(laptop):shift+ü
IO - speech.speech.speak (22:39:29.965) - MainThread (19244):
Speaking ['No previous different style text']
IO - inputCore.InputManager.executeGesture (22:39:31.054) - winInputHook (10508):
Input: kb(laptop):ü
ERROR - scriptHandler.executeScript (22:39:31.122) - MainThread (19244):
error executing script: <bound method BrowseModeTreeInterceptor.addQuickNav.<locals>.<lambda> of <NVDAObjects.window.winword.WordDocumentTreeInterceptor object at 0x0A1A3A10>> with gesture 'ü'
Traceback (most recent call last):
File "scriptHandler.pyc", line 295, in executeScript
File "browseMode.pyc", line 558, in <lambda>
File "browseMode.pyc", line 516, in _quickNavScript
File "browseMode.pyc", line 2399, in _iterTextStyle
File "textInfos\__init__.pyc", line 756, in moveToCodepointOffset
File "treeInterceptorHandler.pyc", line 234, in collapse
File "NVDAObjects\window\winword.pyc", line 1052, in collapse
RuntimeError
IO - inputCore.InputManager.executeGesture (22:39:31.794) - winInputHook (10508):
Input: kb(laptop):shift+plus
IO - speech.speech.speak (22:39:31.864) - MainThread (19244):
Speaking ['No previous same style text']
IO - inputCore.InputManager.executeGesture (22:39:32.614) - winInputHook (10508):
Input: kb(laptop):plus
ERROR - scriptHandler.executeScript (22:39:32.653) - MainThread (19244):
error executing script: <bound method BrowseModeTreeInterceptor.addQuickNav.<locals>.<lambda> of <NVDAObjects.window.winword.WordDocumentTreeInterceptor object at 0x0A1A3A10>> with gesture 'plus'
Traceback (most recent call last):
File "scriptHandler.pyc", line 295, in executeScript
File "browseMode.pyc", line 558, in <lambda>
File "browseMode.pyc", line 516, in _quickNavScript
File "browseMode.pyc", line 2399, in _iterTextStyle
File "textInfos\__init__.pyc", line 756, in moveToCodepointOffset
File "treeInterceptorHandler.pyc", line 234, in collapse
File "NVDAObjects\window\winword.pyc", line 1052, in collapse
RuntimeError
NVDA should report "no next different style text" or "no next same style text". This works as expected for previous styles commands.
Steps to reproduce:
Actual behavior:
NVDA gives a runtime error when attempting to navigate to next different or next same style text.
Expected behavior:
NVDA should report "no next different style text" or "no next same style text". This works as expected for previous styles commands.
NVDA logs, crash dumps and other attachments:
n/a
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
Version: alpha-31612,3d4aOa8f (2024.2.0.31612)
Windows version:
Windows 11 23 H2
Name and version of other software in use when reproducing the issue:
Microsoft 365 MSO (Version 2403 Build 16.0.17425.20176) 64 Bit
Other information about your system:
n/a
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.
n/a
If NVDA add-ons are disabled, is your problem still occurring?
yes
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
yes