Steps to reproduce:
- Ensure you have set Windows console support to "preferred UIA".
- Open a terminal and execute a script/command that returns a lot of text.
- Wait a few seconds.
Actual behavior:
The terminal is frequently crashing (closes completely). No problem with legacy mode. I raised following errors in the log on several attempts (sometimes there is no traceback in the log):
Traceback (most recent call last):
File "NVDAObjects\UIA\__init__.pyc", line 284, in __init__
File "comtypesMonkeyPatches.pyc", line 26, in __call__
_ctypes.COMError: (-2147220991, 'An event was unable to invoke any of the subscribers', (None, None, None, 0, None))None, 0, None))
DEBUGWARNING - NVDAObjects.behaviors.LiveText._monitor (05:48:57.681) - Dynamic_WinConsoleUIAEditableTextWithAutoSelectDetectionUIA._monitorThread (6592):
Error getting lines or calculating new text
Traceback (most recent call last):
File "NVDAObjects\behaviors.pyc", line 301, in _monitor
File "NVDAObjects\UIA\winConsoleUIA.pyc", line 286, in _getTextLines
File "comtypesMonkeyPatches.pyc", line 26, in __call__
_ctypes.COMError: (-2147220991, 'An event was unable to invoke any of the subscribers', (None, None, None, 0, None))
Traceback (most recent call last):
File "NVDAObjects\__init__.pyc", line 77, in __call__
File "NVDAObjects\UIA\__init__.pyc", line 954, in __init__
NVDAObjects.InvalidNVDAObject: no windowHandle
Expected behavior:
No terminal crash.
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-18955,12f27acf
Windows version:
10 1903 (build 18990.1)
Name and version of other software in use when reproducing the issue:
cmd, powershell, bash, etc..
Other information about your system:
N/A
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No problem in legacy mode.
CC @codeofdusk
Steps to reproduce:
Actual behavior:
The terminal is frequently crashing (closes completely). No problem with legacy mode. I raised following errors in the log on several attempts (sometimes there is no traceback in the log):
Expected behavior:
No terminal crash.
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-18955,12f27acf
Windows version:
10 1903 (build 18990.1)
Name and version of other software in use when reproducing the issue:
cmd, powershell, bash, etc..
Other information about your system:
N/A
Other questions
Does the issue still occur after restarting your PC?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No problem in legacy mode.
CC @codeofdusk