From 63c2b848836789f48341cdc392a0c98555dd0b6f Mon Sep 17 00:00:00 2001 From: Sean Budd Date: Thu, 28 Sep 2023 12:05:38 +1000 Subject: [PATCH] Add SysListView32 to badUIAWindowClassNames (#15542) Fixes #15541 Reverts #15295 Reopens #15283 See also #15503, #15333 Summary of the issue: There are several known cases where UIA is not correctly supported for SysListView32. Reliability History is the most recently raised, with task manager and management console being raised earlier. As this is close to a beta, it is safer to just declare SysListView32 as bad for UIA for all applications. Description of user facing changes Reopens issues with SysListView32 and windows forms applications Fixes issue with reading Reliability History, and potentially also resource monitor. Description of development approach declare SysListView32 as bad for UIA for all applications. --- source/UIAHandler/__init__.py | 3 +++ user_docs/en/changes.t2t | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/UIAHandler/__init__.py b/source/UIAHandler/__init__.py index e57333d7943..921c6511b19 100644 --- a/source/UIAHandler/__init__.py +++ b/source/UIAHandler/__init__.py @@ -86,6 +86,9 @@ badUIAWindowClassNames = ( # UIA events of candidate window interfere with MSAA events. "Microsoft.IME.CandidateWindow.View", + # Known issue with "Reliability Monitor" in explorer.exe #15541. + # Task manager and mmc.exe are also affected, but have isBadUIAWindow workarounds. + "SysListView32", "SysTreeView32", "WuDuiListView", "ComboBox", diff --git a/user_docs/en/changes.t2t b/user_docs/en/changes.t2t index b2bbee4f0f2..6b80dccfd70 100644 --- a/user_docs/en/changes.t2t +++ b/user_docs/en/changes.t2t @@ -85,7 +85,6 @@ There's also been bug fixes for the Add-on Store, Microsoft Office, Microsoft Ed - Fixed bug where add-ons cannot be installed if a previous download failed or was cancelled. (#15469) - Fixed issues with handling incompatible add-ons when upgrading NVDA. (#15414, #15412, #15437) - -- Fixed support for System List view (``SysListView32``) controls in Windows Forms applications. (#15283) - NVDA once again announces calculation results in the Windows 32bit calculator on Server, LTSC and LTSB versions of Windows. (#15230) - NVDA no longer ignores focus changes when a nested window (grand child window) gets focus. (#15432) - Fixed performance issues with Task Manager and some Windows versions. (#6245)