nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.11k stars 637 forks source link

Error heard when switching input languages in Windows 8 #2707

Closed nvaccessAuto closed 4 years ago

nvaccessAuto commented 12 years ago

Reported by nvdakor on 2012-10-11 22:57 Using Win8 with both English U.S. and Korean IME layout. An error is heard when switching languages in Windows 8 by pressing Windows key+SPACE. Here's the log when the error occurs:

IO - inputCore.InputManager.executeGesture (15:49:32): Input: kb(laptop):windows+space ERROR - eventHandler.executeEvent (15:49:32): error executing event: gainFocus on <NVDAObjects.UIA.UIA object at 0x03EA9B30> with extra args of {} Traceback (most recent call last): File "eventHandler.pyc", line 136, in executeEvent File "eventHandler.pyc", line 84, in init File "eventHandler.pyc", line 91, in next File "appModules\explorer.pyc", line 152, in event_gainFocus File "eventHandler.pyc", line 91, in next File "NVDAObjectsinit.pyc", line 823, in event_gainFocus File "NVDAObjectsinit.pyc", line 767, in reportFocus File "speech.pyc", line 317, in speakObject File "speech.pyc", line 235, in speakObjectProperties File "baseObject.pyc", line 34, in get File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects\UIAinit.pyc", line 548, in _get_columnNumber COMError: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))

Thanks.

dkager commented 7 years ago

CC @josephsl

josephsl commented 7 years ago

Hi, does not happen on Windows 10, so limiting the scope to Windows 8.1 for now.

From: Davy Kager [mailto:notifications@github.com] Sent: Saturday, July 15, 2017 10:33 AM To: nvaccess/nvda nvda@noreply.github.com Cc: Joseph Lee joseph.lee22590@gmail.com; Mention mention@noreply.github.com Subject: Re: [nvaccess/nvda] Error heard when switching input languages in Windows 8 (#2707)

CC @josephsl https://github.com/josephsl

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nvaccess/nvda/issues/2707#issuecomment-315549746 , or mute the thread https://github.com/notifications/unsubscribe-auth/AHgLkC0Zolt5hlIIlKmNNj4b_G_dKzlSks5sOPfRgaJpZM4OZE2k .

bhavyashah commented 7 years ago

Confirmed. Using NVDA master-14274,18073792 (temporary copy) on a Windows 8.1 system, I was alarmed when I was able to successfully and consistently replicate these errors consecutively because the error sounds were quite frightening. :) Assuming you have more than one keyboard layout to toggle between (I have three; Hindi Traditional, English India and English US), follow the below steps to replicate the described error. STR

Windows+Space Error Input: kb(laptop):windows+space ERROR - eventHandler.executeEvent (15:44:45.739): error executing event: focusEntered on <NVDAObjects.UIA.UIA object at 0x048C7EF0> with extra args of {} Traceback (most recent call last): File "eventHandler.pyc", line 143, in executeEvent File "eventHandler.pyc", line 91, in init File "eventHandler.pyc", line 98, in next File "NVDAObjects__init.pyc", line 929, in event_focusEntered File "baseObject.pyc", line 34, in get File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects__init.pyc", line 808, in _get_isPresentableFocusAncestor File "baseObject.pyc", line 34, in get File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects\UIA__init.pyc", line 1056, in _get_presentationType File "baseObject.pyc", line 34, in get__ File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects__init.pyc", line 624, in _get_presentationType File "baseObject.pyc", line 34, in get__ File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects\UIA\init.pyc", line 996, in _get_states File "NVDAObjects\UIA\init__.pyc", line 684, in _prefetchUIACacheForPropertyIDs COMError: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) ERROR - eventHandler.executeEvent (15:44:45.770): error executing event: focusEntered on <NVDAObjects.UIA.UIA object at 0x048C7830> with extra args of {} Traceback (most recent call last): File "eventHandler.pyc", line 143, in executeEvent File "eventHandler.pyc", line 91, in init File "eventHandler.pyc", line 98, in next File "NVDAObjects__init__.pyc", line 929, in event_focusEntered File "baseObject.pyc", line 34, in get File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects__init.pyc", line 808, in _get_isPresentableFocusAncestor File "baseObject.pyc", line 34, in get File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects\UIA__init.pyc", line 1056, in _get_presentationType File "baseObject.pyc", line 34, in get__ File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects__init.pyc", line 624, in _get_presentationType File "baseObject.pyc", line 34, in get__ File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects\UIA\init.pyc", line 996, in _get_states File "NVDAObjects\UIA\init__.pyc", line 684, in _prefetchUIACacheForPropertyIDs COMError: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) ERROR - eventHandler.executeEvent (15:44:45.802): error executing event: gainFocus on <NVDAObjects.UIA.UIA object at 0x045E9130> with extra args of {} Traceback (most recent call last): File "eventHandler.pyc", line 143, in executeEvent File "eventHandler.pyc", line 91, in init File "eventHandler.pyc", line 98, in next File "C:\Users\DELL-PC\AppData\Roaming\nvda\addons\remote\globalPlugins\remoteClient__init.py", line 341, in event_gainFocus File "eventHandler.pyc", line 98, in next File "appModules\explorer.pyc", line 280, in event_gainFocus File "eventHandler.pyc", line 98, in next File "NVDAObjects__init__.pyc", line 936, in event_gainFocus File "NVDAObjects\init.pyc", line 831, in reportFocus File "speech.pyc", line 376, in speakObject File "speech.pyc", line 270, in speakObjectProperties File "baseObject.pyc", line 34, in get__ File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects\UIA\init.pyc", line 1233, in _get_value File "NVDAObjects\UIA\init__.pyc", line 667, in _getUIACacheablePropertyValue COMError: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))

NVDA+L Error Input: kb(laptop):NVDA+l ERROR - scriptHandler.executeScript (15:53:13.573): error executing script: <bound method GlobalCommands.script_reportCurrentLine of <globalCommands.GlobalCommands object at 0x046A1230>> with gesture u'NVDA+l' Traceback (most recent call last): File "scriptHandler.pyc", line 187, in executeScript File "globalCommands.pyc", line 142, in script_reportCurrentLine File "textInfos\offsets.pyc", line 348, in expand File "textInfos\offsets.pyc", line 330, in _getUnitOffsets File "textInfos\offsets.pyc", line 249, in _getLineOffsets File "NVDAObjects__init.pyc", line 41, in _getStoryText File "baseObject.pyc", line 34, in get File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects__init.pyc", line 996, in _get_basicText File "baseObject.pyc", line 34, in get__ File "baseObject.pyc", line 110, in _getPropertyViaCache File "NVDAObjects\UIA\init.pyc", line 1233, in _get_value File "NVDAObjects\UIA\init__.pyc", line 667, in _getUIACacheablePropertyValue COMError: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))

Please let me know if any further diagnostic information is required for troubleshooting purposes.

Adriani90 commented 5 years ago

@bhavyashah is this still reproducible on Windows 8.1?

Adriani90 commented 4 years ago

No updates since almost three years, I cannot reproduce this with las alpha of NVDA. Closing as abandoned and works for me. Please comment on this if you are still seeing this issue and we can reopen it. Thanks.