nvda
nvda copied to clipboard
Error after changing input language with Notepad++
While reproducing #7924 I found the following
Steps to reproduce:
- Make sure Automatic Language Switching and Automatic Dialect Switching are enabled in the Voice Settings dialog
- Use a TTS engine, like Eloquence/eSpeak/Vocalizer, which supports multiple languages
- Open Notepad++, start typing
- Change the Windows input language by pressing
Windows Key+Space
- Type some more
Expected behavior:
Expect to be able to type the next word without errors.
Actual behavior:
NVDA errors are heard.
ERROR - eventHandler.executeEvent (14:36:06.368):
error executing event: typedCharacter on <NVDAObjects.UIA.ListItem object at 0x06F4FCD0> with extra args of {'ch': u' '}
Traceback (most recent call last):
File "eventHandler.pyc", line 152, in executeEvent
File "eventHandler.pyc", line 92, in __init__
File "eventHandler.pyc", line 100, in next
File "NVDAObjects\__init__.pyc", line 898, in event_typedCharacter
File "speech.pyc", line 657, in speakTypedCharacters
File "api.pyc", line 247, in isTypingProtected
File "baseObject.pyc", line 34, in __get__
File "baseObject.pyc", line 115, in _getPropertyViaCache
File "NVDAObjects\UIA\__init__.pyc", line 1027, in _get_states
File "NVDAObjects\UIA\__init__.pyc", line 716, in _prefetchUIACacheForPropertyIDs
COMError: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))
IO - inputCore.InputManager.executeGesture (14:36:09.628):
Input: kb(desktop):NVDA+f1
INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (14:36:09.687):
Developer info for navigator object:
name: ''
role: ROLE_LISTITEM
states: exception: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))
isFocusable: exception: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))
hasFocus: False
Python object: <NVDAObjects.UIA.ListItem object at 0x06F4FCD0>
Python class mro: (<class 'NVDAObjects.UIA.ListItem'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'documentBase.TextContainerObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)
description: ''
location: None
value: exception: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))
appModule: <'explorer' (appName u'explorer', process ID 6836) at address 6dfddb0>
appModule.productName: u'Microsoft\xae Windows\xae Operating System'
appModule.productVersion: u'10.0.16299.15'
TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>
windowHandle: 1705526
windowClassName: u'DirectUIHWND'
windowControlID: 0
windowStyle: 0
windowThreadID: 4876
windowText: u''
displayText: exception: 'NoneType' object is not iterable
UIAElement: <POINTER(IUIAutomationElement) ptr=0x274a1c8 at 6f2ee90>
UIA automationID: Exception: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))
UIA frameworkID: DirectUI
UIA runtimeID: (6836, 387228880, 0)
UIA providerDescription: [pid:6836,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:InputSwitch.dll)]
UIA className: Exception: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))
System configuration:
NVDA version: next-14799,5410e284
NVDA Installed or portable: Installed
Windows version:
Example: Windows 10 Version 1607 Build 14393.1066
Name and version of other software in use when reproducing the issue: Notepad++ v7.4.2