diff --git a/source/appModules/openwith.py b/source/appModules/openwith.py index 9d681b141c2..cc6621c574a 100644 --- a/source/appModules/openwith.py +++ b/source/appModules/openwith.py @@ -1,14 +1,14 @@ -#appModules/openWith.py -#A part of NonVisual Desktop Access (NVDA) -#Copyright (C) 2006-2011 NVDA Contributors -#This file is covered by the GNU General Public License. -#See the file COPYING for more details. +# A part of NonVisual Desktop Access (NVDA) +# Copyright (C) 2011-2020 NV Access Limited, Joseph Lee +# This file is covered by the GNU General Public License. +# See the file COPYING for more details. from comtypes import COMError import appModuleHandler import controlTypes from NVDAObjects.UIA import UIA from NVDAObjects.behaviors import Dialog +import winUser #win8hack: the nondefault items in the list of applications are not labeled class NonDefaultAppTile(UIA): @@ -44,3 +44,9 @@ def chooseNVDAObjectOverlayClasses(self,obj,clsList): elif automationID=="ImmersiveOpenWithFlyout": clsList.insert(0,ImmersiveOpenWithFlyout) + def isGoodUIAWindow(self, hwnd): + # #11335: Open With dialog isn't read in Windows 10 Version 2004 (May 2020 Update). + # Note that treating the below window as a UIA window will make NVDA no longer announce "pane". + if winUser.getClassName(hwnd) == "Shell_Flyout": + return True + return False diff --git a/user_docs/en/changes.t2t b/user_docs/en/changes.t2t index ecdcd9a4191..887e8d7d661 100644 --- a/user_docs/en/changes.t2t +++ b/user_docs/en/changes.t2t @@ -25,6 +25,7 @@ What's New in NVDA - In general settings panel, the language list is now sorted correctly. (#10348) - In the Input Gestures dialog, significantly improved performance while filtering. (#10307)( - You can now send Unicode characters beyond U+FFFF from a braille display. (#10796) +- NVDA will announce Open With dialog content in Windows 10 May 2020 Update. (#11335) == Changes For Developers ==