Open feerrenrut opened 6 years ago
This can be worked around by pressing Alt+Tab
to focus another application, then returning to Notepad++
@feerrenrut Hi, I am new here and want to apply to NV Access for Google Summer of Code 2019.
Does this issue still exist with the latest version? If yes, can I work on this issue to get familiar with the code?
@Swapnilr1 at least from my side, I cannot reproduce this issue in last NVDA Alpha anymore. Tested with eloquence and eSpeak as speech synthesizer. But let's wait for @feerrenrut's confirmation as well.
I wish you all the best for summer of code!
If you want to get familiar with the code by contributing to NVDA, you could also search for issues which are labeled as "goodForNewDev". Here is the link to the issues: https://github.com/nvaccess/nvda/labels/goodForNewDev
Thank you!
Given the fact that testing by @Adriani90 shows that it is fixed either something in NVDA has changed, or the testing was done on older build of Windows 10. @Adriani90 would you mint testing lets say with NVDA 2018.1 and if it doesn't work there and works with recent Alpha we can close it IMHO?
@Adriani90 Thanks a lot for guiding me.
I reproduced this issue with a recent NVDA alpha and notepad++ 8.2.1
Actually, this issue can be reproduced everywhere, and the automatic language recognition does not have to be enabled in NVDA.
Steps to reproduce:
Actual behavior: NVDA plays errors and does not speak, although the focus or the carret are working properly. It seems the toggle list that appears is an UIA window but NVDA does not have a proper UIA handle for it. After releasing the keys, NVDA does not recognize that the list disappeared and ignores everything related to focus or carret. Although the focus or the carret moves, NVDA ignores it and treats the objects under the focus / carret as non native UIA. I enabled UIA and events in the advanced logging categories, following is written to the log:
DEBUG - UIAHandler.UIAHandler.IUIAutomationNotificationEventHandler_HandleNotificationEvent (16:23:53.000) - Dummy-1 (3484):
handleNotificationEvent called with notificationKind ActionCompleted, notificationProcessing MostRecent, displayString Tastatur auf Japanisch Microsoft-IME umgeschaltet, activityID Windows.Shell.InputSwitch.SwitchNotification, for element [None] Schaltfläche with automationID [None], className [None] and frameworkID [None]
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.000) - Dummy-1 (3484):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.000) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element [None] Schaltfläche with automationID [None], className [None] and frameworkID [None]
DEBUGWARNING - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.002) - Dummy-1 (3484):
error walking up to an element with a valid windowHandle
Traceback (most recent call last):
File "UIAHandler\__init__.pyc", line 1316, in getNearestWindowHandle
_ctypes.COMError: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None))
DEBUGWARNING - NVDAObjects.__call__ (16:23:53.003) - Dummy-1 (3484):
Invalid NVDAObject: no windowHandle
Traceback (most recent call last):
File "NVDAObjects\__init__.pyc", line 93, in __call__
File "NVDAObjects\UIA\__init__.pyc", line 1363, in __init__
NVDAObjects.InvalidNVDAObject: no windowHandle
DEBUG - UIAHandler.UIAHandler.IUIAutomationNotificationEventHandler_HandleNotificationEvent (16:23:53.004) - Dummy-1 (3484):
HandleNotificationEvent: Ignoring because no object: NotificationProcessing=3 displayString=Tastatur auf Japanisch Microsoft-IME umgeschaltet activityId=Windows.Shell.InputSwitch.SwitchNotification
IO - speech.speech.speak (16:23:53.009) - MainThread (15612):
Speaking ['Japanisch (Japan) - Microsoft-IME']
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.037) - Dummy-1 (3484):
handleAutomationEvent called with event Window_WindowOpened for element [None] Fenster with automationID [None], className ApplicationFrameWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.037) - Dummy-1 (3484):
checking if is native UIA element: [None] Fenster with automationID [None], className ApplicationFrameWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.037) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element [None] Fenster with automationID [None], className ApplicationFrameWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.038) - Dummy-1 (3484):
Found ancestor element with valid windowHandle hwnd 0X50866 of class ApplicationFrameWindow
DEBUG - UIAHandler.UIAHandler._isUIAWindowHelper (16:23:53.038) - Dummy-1 (3484):
checking window hwnd 0X50866 of class ApplicationFrameWindow
DEBUG - UIAHandler.UIAHandler._isUIAWindowHelper (16:23:53.038) - Dummy-1 (3484):
appModule explorer says to treat window as UIA
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.038) - Dummy-1 (3484):
treating element as native due to windowHandle hwnd 0X50866 of class ApplicationFrameWindow.
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.038) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X50866 of class ApplicationFrameWindow for element [None] Fenster with automationID [None], className ApplicationFrameWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.038) - Dummy-1 (3484):
Checking if should accept NVDA event UIA_window_windowOpen with window hwnd 0X50866 of class ApplicationFrameWindow
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.040) - Dummy-1 (3484):
handleAutomationEvent: created object <NVDAObjects.UIA.UIA object at 0x014F2750>
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.040) - Dummy-1 (3484):
handleAutomationEvent: queuing NVDA event UIA_window_windowOpen for NVDAObject <NVDAObjects.UIA.UIA object at 0x014F2750>
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.057) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.057) - MainThread (15612):
Locating nearest ancestor windowHandle for element Windows-Eingabeerfahrung Fenster with automationID [None], className Windows.UI.Core.CoreWindow and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.057) - MainThread (15612):
Found ancestor element with valid windowHandle hwnd 0X240920 of class Windows.UI.Core.CoreWindow
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.061) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.061) - MainThread (15612):
Locating nearest ancestor windowHandle for element Symbolleisten-Menüliste für Japanisch Liste with automationID TEMPLATE_PART_ToolBarListView, className ListView and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.063) - MainThread (15612):
Found ancestor element with valid windowHandle hwnd 0X240920 of class Windows.UI.Core.CoreWindow
DEBUGWARNING - IAccessibleHandler.internalWinEventHandler._shouldGetEvents (16:23:53.275) - MainThread (15612):
Foreground took too long to change. Foreground still 66280 (Progman). Should be 198942 (Shell_InputSwitchTopLevelWindow)
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.281) - Dummy-1 (3484):
handleAutomationEvent called with event Window_WindowOpened for element [None] Fenster with automationID [None], className Shell_InputSwitchTopLevelWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.281) - Dummy-1 (3484):
checking if is native UIA element: [None] Fenster with automationID [None], className Shell_InputSwitchTopLevelWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.281) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element [None] Fenster with automationID [None], className Shell_InputSwitchTopLevelWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.283) - Dummy-1 (3484):
Found ancestor element with valid windowHandle hwnd 0X3091E of class Shell_InputSwitchTopLevelWindow
DEBUG - UIAHandler.UIAHandler._isUIAWindowHelper (16:23:53.283) - Dummy-1 (3484):
checking window hwnd 0X3091E of class Shell_InputSwitchTopLevelWindow
DEBUG - UIAHandler.UIAHandler._isUIAWindowHelper (16:23:53.283) - Dummy-1 (3484):
appModule explorer says to treat window as UIA
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.283) - Dummy-1 (3484):
treating element as native due to windowHandle hwnd 0X3091E of class Shell_InputSwitchTopLevelWindow.
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.283) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X3091E of class Shell_InputSwitchTopLevelWindow for element [None] Fenster with automationID [None], className Shell_InputSwitchTopLevelWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.283) - Dummy-1 (3484):
Checking if should accept NVDA event UIA_window_windowOpen with window hwnd 0X3091E of class Shell_InputSwitchTopLevelWindow
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.286) - Dummy-1 (3484):
handleAutomationEvent: created object <NVDAObjects.UIA.UIA object at 0x015F32B0>
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.286) - Dummy-1 (3484):
handleAutomationEvent: queuing NVDA event UIA_window_windowOpen for NVDAObject <NVDAObjects.UIA.UIA object at 0x015F32B0>
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:53.287) - Dummy-1 (3484):
handleFocusChangedEvent called with element [None] Fenster with automationID [None], className Shell_InputSwitchTopLevelWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.287) - Dummy-1 (3484):
checking if is native UIA element: [None] Fenster with automationID [None], className Shell_InputSwitchTopLevelWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.287) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element [None] Fenster with automationID [None], className Shell_InputSwitchTopLevelWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.288) - Dummy-1 (3484):
Found ancestor element with valid windowHandle hwnd 0X3091E of class Shell_InputSwitchTopLevelWindow
DEBUG - UIAHandler.UIAHandler.isUIAWindow (16:23:53.288) - Dummy-1 (3484):
Found cached is UIA window True for hwnd hwnd 0X3091E of class Shell_InputSwitchTopLevelWindow
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.288) - Dummy-1 (3484):
treating element as native due to windowHandle hwnd 0X3091E of class Shell_InputSwitchTopLevelWindow.
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.288) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X3091E of class Shell_InputSwitchTopLevelWindow for element [None] Fenster with automationID [None], className Shell_InputSwitchTopLevelWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:53.290) - Dummy-1 (3484):
Created object <NVDAObjects.UIA.UIA object at 0x015F3E70> for element [None] Fenster with automationID [None], className Shell_InputSwitchTopLevelWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:53.290) - Dummy-1 (3484):
HandleFocusChangedEvent: NVDAObject chose to ignore event
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:53.290) - Dummy-1 (3484):
handleFocusChangedEvent called with element Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.290) - Dummy-1 (3484):
checking if is native UIA element: Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.290) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.291) - Dummy-1 (3484):
Found ancestor element with valid windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - UIAHandler.UIAHandler.isUIAWindow (16:23:53.291) - Dummy-1 (3484):
Found cached is UIA window True for hwnd hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.291) - Dummy-1 (3484):
treating element as native due to windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass.
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.292) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass for element Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.294) - Dummy-1 (3484):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.294) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass for element Sprachumschaltungsliste Liste with automationID Windows.Shell.InputApp.InputSwitcherList, className ListView and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:53.295) - Dummy-1 (3484):
Created object <NVDAObjects.UIA.ListItem object at 0x014E7AD0> for element Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:53.297) - Dummy-1 (3484):
handleFocusChangedEvent: Queuing NVDA gainFocus event for obj <NVDAObjects.UIA.ListItem object at 0x014E7AD0>
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:53.297) - Dummy-1 (3484):
handleFocusChangedEvent called with element Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.297) - Dummy-1 (3484):
checking if is native UIA element: Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.298) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.299) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.299) - MainThread (15612):
Locating nearest ancestor windowHandle for element [None] Bereich with automationID [None], className Windows.UI.Input.InputSite.WindowClass and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.299) - Dummy-1 (3484):
Found ancestor element with valid windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - UIAHandler.UIAHandler.isUIAWindow (16:23:53.299) - Dummy-1 (3484):
Found cached is UIA window True for hwnd hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.299) - Dummy-1 (3484):
treating element as native due to windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass.
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.300) - MainThread (15612):
Found ancestor element with valid windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUGWARNING - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:53.300) - Dummy-1 (3484):
HandleFocusChangedEvent: Ignoring duplicate focus event
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.302) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.302) - MainThread (15612):
Locating nearest ancestor windowHandle for element DesktopWindowXamlSource Bereich with automationID [None], className Windows.UI.Composition.DesktopWindowContentBridge and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.303) - MainThread (15612):
Found ancestor element with valid windowHandle hwnd 0X60528 of class Windows.UI.Composition.DesktopWindowContentBridge
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.308) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.308) - MainThread (15612):
Locating nearest ancestor windowHandle for element [None] Fenster with automationID [None], className Shell_InputSwitchTopLevelWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.308) - MainThread (15612):
Found ancestor element with valid windowHandle hwnd 0X3091E of class Shell_InputSwitchTopLevelWindow
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.312) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.312) - MainThread (15612):
Locating nearest ancestor windowHandle for element Desktop 1 Bereich with automationID [None], className #32769 and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.313) - MainThread (15612):
Found ancestor element with valid windowHandle hwnd 0X10010 of class #32769
IO - speech.speech.speak (16:23:53.318) - MainThread (15612):
Speaking ['Sprachumschaltungsliste', 'Liste', CancellableSpeech (still valid)]
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.322) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.322) - MainThread (15612):
Locating nearest ancestor windowHandle for element Sprachumschaltungsliste Liste with automationID Windows.Shell.InputApp.InputSwitcherList, className ListView and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.323) - MainThread (15612):
Found ancestor element with valid windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
IO - speech.speech.speak (16:23:53.325) - MainThread (15612):
Speaking ['Japanisch Microsoft-IME', '3 von 3', CancellableSpeech (still valid)]
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.325) - Dummy-1 (3484):
handleAutomationEvent called with event Window_WindowOpened for element [None] Fenster with automationID [None], className ApplicationFrameWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.327) - Dummy-1 (3484):
checking if is native UIA element: [None] Fenster with automationID [None], className ApplicationFrameWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.327) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element [None] Fenster with automationID [None], className ApplicationFrameWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.327) - Dummy-1 (3484):
Found ancestor element with valid windowHandle hwnd 0X50866 of class ApplicationFrameWindow
DEBUG - UIAHandler.UIAHandler.isUIAWindow (16:23:53.327) - Dummy-1 (3484):
Found cached is UIA window True for hwnd hwnd 0X50866 of class ApplicationFrameWindow
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:53.327) - Dummy-1 (3484):
treating element as native due to windowHandle hwnd 0X50866 of class ApplicationFrameWindow.
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.328) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X50866 of class ApplicationFrameWindow for element [None] Fenster with automationID [None], className ApplicationFrameWindow and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.328) - Dummy-1 (3484):
Checking if should accept NVDA event UIA_window_windowOpen with window hwnd 0X50866 of class ApplicationFrameWindow
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.329) - Dummy-1 (3484):
handleAutomationEvent: created object <NVDAObjects.UIA.UIA object at 0x091869D0>
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:53.329) - Dummy-1 (3484):
handleAutomationEvent: queuing NVDA event UIA_window_windowOpen for NVDAObject <NVDAObjects.UIA.UIA object at 0x091869D0>
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.338) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.338) - MainThread (15612):
Locating nearest ancestor windowHandle for element Windows-Eingabeerfahrung Fenster with automationID [None], className Windows.UI.Core.CoreWindow and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.338) - MainThread (15612):
Found ancestor element with valid windowHandle hwnd 0X240920 of class Windows.UI.Core.CoreWindow
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:53.341) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.341) - MainThread (15612):
Locating nearest ancestor windowHandle for element Symbolleisten-Menüliste für Japanisch Liste with automationID TEMPLATE_PART_ToolBarListView, className ListView and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:53.342) - MainThread (15612):
Found ancestor element with valid windowHandle hwnd 0X240920 of class Windows.UI.Core.CoreWindow
DEBUG - UIAHandler.UIAHandler.IUIAutomationNotificationEventHandler_HandleNotificationEvent (16:23:54.741) - Dummy-1 (3484):
handleNotificationEvent called with notificationKind ActionCompleted, notificationProcessing MostRecent, displayString Tastatur auf Deutsch (Deutschland) Deutsch-Tastatu, activityID Windows.Shell.InputSwitch.SwitchNotification, for element [None] Schaltfläche with automationID [None], className [None] and frameworkID [None]
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:54.741) - Dummy-1 (3484):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.741) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element [None] Schaltfläche with automationID [None], className [None] and frameworkID [None]
DEBUGWARNING - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.743) - Dummy-1 (3484):
error walking up to an element with a valid windowHandle
Traceback (most recent call last):
File "UIAHandler\__init__.pyc", line 1316, in getNearestWindowHandle
_ctypes.COMError: (-2147467259, 'Unbekannter Fehler', (None, None, None, 0, None))
DEBUGWARNING - NVDAObjects.__call__ (16:23:54.744) - Dummy-1 (3484):
Invalid NVDAObject: no windowHandle
Traceback (most recent call last):
File "NVDAObjects\__init__.pyc", line 93, in __call__
File "NVDAObjects\UIA\__init__.pyc", line 1363, in __init__
NVDAObjects.InvalidNVDAObject: no windowHandle
DEBUG - UIAHandler.UIAHandler.IUIAutomationNotificationEventHandler_HandleNotificationEvent (16:23:54.745) - Dummy-1 (3484):
HandleNotificationEvent: Ignoring because no object: NotificationProcessing=3 displayString=Tastatur auf Deutsch (Deutschland) Deutsch-Tastatur umgeschaltet activityId=Windows.Shell.InputSwitch.SwitchNotification
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:54.745) - Dummy-1 (3484):
handleFocusChangedEvent called with element Deutsch (Deutschland) Deutsch Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_0, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:54.745) - Dummy-1 (3484):
checking if is native UIA element: Deutsch (Deutschland) Deutsch Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_0, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.745) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element Deutsch (Deutschland) Deutsch Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_0, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.749) - Dummy-1 (3484):
Found ancestor element with valid windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - UIAHandler.UIAHandler.isUIAWindow (16:23:54.749) - Dummy-1 (3484):
Found cached is UIA window True for hwnd hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:54.749) - Dummy-1 (3484):
treating element as native due to windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass.
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.749) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass for element Deutsch (Deutschland) Deutsch Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_0, className ListViewItem and frameworkID XAML
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:54.751) - Dummy-1 (3484):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.751) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass for element Sprachumschaltungsliste Liste with automationID Windows.Shell.InputApp.InputSwitcherList, className ListView and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:54.753) - Dummy-1 (3484):
Created object <NVDAObjects.UIA.ListItem object at 0x014E70F0> for element Deutsch (Deutschland) Deutsch Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_0, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:54.753) - Dummy-1 (3484):
handleFocusChangedEvent: Queuing NVDA gainFocus event for obj <NVDAObjects.UIA.ListItem object at 0x014E70F0>
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:54.754) - Dummy-1 (3484):
handleAutomationEvent called with event SelectionItem_ElementSelected for element Deutsch (Deutschland) Deutsch Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_0, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:54.754) - Dummy-1 (3484):
handleAutomationEvent: element matches focus. Redirecting event to focus NVDAObject <NVDAObjects.UIA.ListItem object at 0x014E70F0>
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:54.754) - Dummy-1 (3484):
Checking if should accept NVDA event UIA_elementSelected with window hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:54.755) - Dummy-1 (3484):
handleAutomationEvent: queuing NVDA event UIA_elementSelected for NVDAObject <NVDAObjects.UIA.ListItem object at 0x014E70F0>
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:54.756) - Dummy-1 (3484):
handleAutomationEvent called with event SelectionItem_ElementRemovedFromSelection for element Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:54.756) - Dummy-1 (3484):
checking if is native UIA element: Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.756) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.757) - Dummy-1 (3484):
Found ancestor element with valid windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - UIAHandler.UIAHandler.isUIAWindow (16:23:54.757) - Dummy-1 (3484):
Found cached is UIA window True for hwnd hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:54.757) - Dummy-1 (3484):
treating element as native due to windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass.
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.757) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass for element Japanisch Microsoft-IME Listenelement with automationID Windows.Shell.InputApp.InputSwitcherItem_2, className ListViewItem and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:54.757) - Dummy-1 (3484):
Checking if should accept NVDA event stateChange with window hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:54.758) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.758) - MainThread (15612):
Locating nearest ancestor windowHandle for element Sprachumschaltungsliste Liste with automationID Windows.Shell.InputApp.InputSwitcherList, className ListView and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.760) - MainThread (15612):
Found ancestor element with valid windowHandle hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:54.760) - Dummy-1 (3484):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.760) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass for element Sprachumschaltungsliste Liste with automationID Windows.Shell.InputApp.InputSwitcherList, className ListView and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:54.761) - Dummy-1 (3484):
handleAutomationEvent: created object <NVDAObjects.UIA.ListItem object at 0x09186A70>
IO - speech.speech.speak (16:23:54.762) - MainThread (15612):
Speaking ['Deutsch (Deutschland) Deutsch', '1 von 3', CancellableSpeech (still valid)]
DEBUG - UIAHandler.UIAHandler.IUIAutomationEventHandler_HandleAutomationEvent (16:23:54.762) - Dummy-1 (3484):
handleAutomationEvent: queuing NVDA event stateChange for NVDAObject <NVDAObjects.UIA.ListItem object at 0x09186A70>
DEBUG - NVDAObjects.UIA.UIA.__init__ (16:23:54.775) - MainThread (15612):
No windowHandle for UIA NvDAObject. Searching UIA element ancestry for nearest windowHandle
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:54.775) - MainThread (15612):
Got previously cached nearest windowHandle of hwnd 0X703C2 of class Windows.UI.Input.InputSite.WindowClass for element Sprachumschaltungsliste Liste with automationID Windows.Shell.InputApp.InputSwitcherList, className ListView and frameworkID XAML
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:56.451) - Dummy-1 (3484):
handleFocusChangedEvent called with element Diffchecker Listenobjekt with automationID ListViewItem-4, className [None] and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:56.451) - Dummy-1 (3484):
checking if is native UIA element: Diffchecker Listenobjekt with automationID ListViewItem-4, className [None] and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:56.451) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element Diffchecker Listenobjekt with automationID ListViewItem-4, className [None] and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:56.453) - Dummy-1 (3484):
Found ancestor element with valid windowHandle hwnd 0X102EC of class SysListView32
DEBUG - UIAHandler.UIAHandler._isUIAWindowHelper (16:23:56.453) - Dummy-1 (3484):
checking window hwnd 0X102EC of class SysListView32
DEBUG - UIAHandler.UIAHandler._isUIAWindowHelper (16:23:56.453) - Dummy-1 (3484):
window does not have UIA server side provider. Treating as non-UIA
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:23:56.453) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X102EC of class SysListView32 for element Diffchecker Listenobjekt with automationID ListViewItem-4, className [None] and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:23:56.453) - Dummy-1 (3484):
Treating element as non-native
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:23:56.453) - Dummy-1 (3484):
Ignoring for non native element Diffchecker Listenobjekt with automationID ListViewItem-4, className [None] and frameworkID Win32
IO - inputCore.InputManager.executeGesture (16:23:59.089) - winInputHook (1280):
Input: kb(laptop):a
DEBUGWARNING - NVDAObjects.UIA.UIA._prefetchUIACacheForPropertyIDs (16:23:59.101) - MainThread (15612):
IUIAutomationElement.buildUpdatedCache failed given IDs of {30019, 30086, 30022, 30025, 30155, 30138, 30036, 30070, 30103, 30008, 30009, 30010, 30046, 30079}
ERROR - eventHandler.executeEvent (16:23:59.102) - MainThread (15612):
error executing event: typedCharacter on <NVDAObjects.UIA.ListItem object at 0x014E70F0> with extra args of {'ch': 'a'}
Traceback (most recent call last):
File "eventHandler.pyc", line 327, in executeEvent
File "eventHandler.pyc", line 118, in __init__
File "eventHandler.pyc", line 127, in next
File "NVDAObjects\__init__.pyc", line 1209, in event_typedCharacter
File "speech\speech.pyc", line 1233, in speakTypedCharacters
File "api.pyc", line 349, in isTypingProtected
File "baseObject.pyc", line 62, in __get__
File "baseObject.pyc", line 168, in _getPropertyViaCache
File "NVDAObjects\__init__.pyc", line 1084, in _get_isProtected
File "baseObject.pyc", line 62, in __get__
File "baseObject.pyc", line 168, in _getPropertyViaCache
File "NVDAObjects\UIA\__init__.pyc", line 1692, in _get_states
File "NVDAObjects\UIA\__init__.pyc", line 987, in _getUIACacheablePropertyValue
_ctypes.COMError: (-2147418094, 'Der Aufgerufene (Server, nicht die Serveranwendung) ist nicht verfügbar und kann nicht gefunden werden. Alle Verbindungen sind ungültig. Der Aufruf wurde nicht ausgeführt.', (None, None, None, 0, None))
IO - inputCore.InputManager.executeGesture (16:24:03.711) - winInputHook (1280):
Input: kb(laptop):s
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:24:03.744) - Dummy-1 (3484):
handleFocusChangedEvent called with element Signal Listenobjekt with automationID ListViewItem-6, className [None] and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:24:03.744) - Dummy-1 (3484):
checking if is native UIA element: Signal Listenobjekt with automationID ListViewItem-6, className [None] and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:24:03.745) - Dummy-1 (3484):
Locating nearest ancestor windowHandle for element Signal Listenobjekt with automationID ListViewItem-6, className [None] and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:24:03.747) - Dummy-1 (3484):
Found ancestor element with valid windowHandle hwnd 0X102EC of class SysListView32
DEBUG - UIAHandler.UIAHandler.isUIAWindow (16:24:03.747) - Dummy-1 (3484):
Found cached is UIA window False for hwnd hwnd 0X102EC of class SysListView32
DEBUG - UIAHandler.UIAHandler.getNearestWindowHandle (16:24:03.748) - Dummy-1 (3484):
Got previously cached nearest windowHandle of hwnd 0X102EC of class SysListView32 for element Signal Listenobjekt with automationID ListViewItem-6, className [None] and frameworkID Win32
DEBUG - UIAHandler.UIAHandler.isNativeUIAElement (16:24:03.748) - Dummy-1 (3484):
Treating element as non-native
DEBUG - UIAHandler.UIAHandler.IUIAutomationFocusChangedEventHandler_HandleFocusChangedEvent (16:24:03.748) - Dummy-1 (3484):
Ignoring for non native element Signal Listenobjekt with automationID ListViewItem-6, className [None] and frameworkID Win32
DEBUGWARNING - NVDAObjects.UIA.UIA._prefetchUIACacheForPropertyIDs (16:24:03.752) - MainThread (15612):
IUIAutomationElement.buildUpdatedCache failed given IDs of {30019, 30086, 30022, 30025, 30155, 30138, 30036, 30070, 30103, 30008, 30009, 30010, 30046, 30079}
ERROR - eventHandler.executeEvent (16:24:03.752) - MainThread (15612):
error executing event: typedCharacter on <NVDAObjects.UIA.ListItem object at 0x014E70F0> with extra args of {'ch': 's'}
Traceback (most recent call last):
File "eventHandler.pyc", line 327, in executeEvent
File "eventHandler.pyc", line 118, in __init__
File "eventHandler.pyc", line 127, in next
File "NVDAObjects\__init__.pyc", line 1209, in event_typedCharacter
File "speech\speech.pyc", line 1233, in speakTypedCharacters
File "api.pyc", line 349, in isTypingProtected
File "baseObject.pyc", line 62, in __get__
File "baseObject.pyc", line 168, in _getPropertyViaCache
File "NVDAObjects\__init__.pyc", line 1084, in _get_isProtected
File "baseObject.pyc", line 62, in __get__
File "baseObject.pyc", line 168, in _getPropertyViaCache
File "NVDAObjects\UIA\__init__.pyc", line 1692, in _get_states
File "NVDAObjects\UIA\__init__.pyc", line 987, in _getUIACacheablePropertyValue
_ctypes.COMError: (-2147418094, 'Der Aufgerufene (Server, nicht die Serveranwendung) ist nicht verfügbar und kann nicht gefunden werden. Alle Verbindungen sind ungültig. Der Aufruf wurde nicht ausgeführt.', (None, None, None, 0, None))
Expected behavior: NVDA should recognize that the UIA windows with the languages disappeared and should fall back to the normal state, accepting keyboard input and speaking what is under the focus / carret.
cc: @josephsl, @michaelDCurran
While reproducing #7924 I found the following
Steps to reproduce:
Windows Key+Space
Expected behavior:
Expect to be able to type the next word without errors.
Actual behavior:
NVDA errors are heard.
System configuration:
NVDA version: next-14799,5410e284
NVDA Installed or portable: Installed
Windows version:
Name and version of other software in use when reproducing the issue: Notepad++ v7.4.2