Steps to reproduce:
It is not reproducible 100% of the time, but happens when quickly navigating in Windows Explorer under Windows 7.
Actual behavior:
Error sound is played twice, name of the folder with focus is not announced, and the following is in the log:
ERROR - comtypes._comobject.call_without_this (17:05:33.935) - Dummy-1 (6640):
Exception in IUIAutomationFocusChangedEventHandler.HandleFocusChangedEvent implementation:
Traceback (most recent call last):
File "comtypes_comobject.pyc", line 147, in call_without_this
File "UIAHandler.pyc", line 328, in IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent
File "comtypes_init.pyc", line 279, in getattr
File "comtypesMonkeyPatches.pyc", line 26, in call
_ctypes.COMError: (-2147220991, 'An event can not invoke any of its subscribers.(None, None, None, 0, None))
ERROR - comtypes._comobject.call_without_this (17:05:34.025) - Dummy-2 (5308):
Exception in IUIAutomationFocusChangedEventHandler.HandleFocusChangedEvent implementation:
Traceback (most recent call last):
File "comtypes_comobject.pyc", line 147, in call_without_this
File "UIAHandler.pyc", line 328, in IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent
File "comtypes_init.pyc", line 279, in getattr
File "comtypesMonkeyPatches.pyc", line 26, in call
_ctypes.COMError: (-2147220991, 'An event can not invoke any of its subscribers.', (None, None, None, 0, None))
Expected behavior:
The folder name should be announced.
System configuration
NVDA installed/portable/running from source:
Tried with a portable on my main system, and with an installed one on my secondary computer- happens in both cases.
NVDA version:
NVDA version alpha-19146,d473de81
Windows version:
Windows 7 pro X64
Name and version of other software in use when reproducing the issue:
Windows Explorer
Other information about your system:
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 such problems with 2019.2.1
Additional information's.
I believe this is caused by #10393.
With 2019.2.1 in such situations NVDA falls back to MSAA which is visible, because name of the folder is announced twice.
cc @LeonarddeR
Steps to reproduce:
It is not reproducible 100% of the time, but happens when quickly navigating in Windows Explorer under Windows 7.
Actual behavior:
Error sound is played twice, name of the folder with focus is not announced, and the following is in the log:
ERROR - comtypes._comobject.call_without_this (17:05:33.935) - Dummy-1 (6640):
Exception in IUIAutomationFocusChangedEventHandler.HandleFocusChangedEvent implementation:
Traceback (most recent call last):
File "comtypes_comobject.pyc", line 147, in call_without_this
File "UIAHandler.pyc", line 328, in IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent
File "comtypes_init.pyc", line 279, in getattr
File "comtypesMonkeyPatches.pyc", line 26, in call
_ctypes.COMError: (-2147220991, 'An event can not invoke any of its subscribers.(None, None, None, 0, None))
ERROR - comtypes._comobject.call_without_this (17:05:34.025) - Dummy-2 (5308):
Exception in IUIAutomationFocusChangedEventHandler.HandleFocusChangedEvent implementation:
Traceback (most recent call last):
File "comtypes_comobject.pyc", line 147, in call_without_this
File "UIAHandler.pyc", line 328, in IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent
File "comtypes_init.pyc", line 279, in getattr
File "comtypesMonkeyPatches.pyc", line 26, in call
_ctypes.COMError: (-2147220991, 'An event can not invoke any of its subscribers.', (None, None, None, 0, None))
Expected behavior:
The folder name should be announced.
System configuration
NVDA installed/portable/running from source:
Tried with a portable on my main system, and with an installed one on my secondary computer- happens in both cases.
NVDA version:
NVDA version alpha-19146,d473de81
Windows version:
Windows 7 pro X64
Name and version of other software in use when reproducing the issue:
Windows Explorer
Other information about your system:
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 such problems with 2019.2.1
Additional information's.
I believe this is caused by #10393.
With 2019.2.1 in such situations NVDA falls back to MSAA which is visible, because name of the folder is announced twice.
cc @LeonarddeR