Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to IUIAutomation6, and UIA objects: recognize more UIA dialog…
…s via more class names and IsDialog property in Windows 10 Redstone 5 (#8473) * UIA handler: add class names for various dialogs encountered on Windows 7, 8.x, 10, as well as apps. Re #8405. Windows 10 and various apps added more dilaog class names. Rather than using a static list as part of overlay class chooser in UIA object, this list, along iwth new ones, are now available in UIA handler. Also, added constant for UIA_IsDialogPropertyID in UIA handler, to be removed once IUIAutomation6 interface support comes to NVDA, as this property ID will be included in Redstone 5. * NVDAObjects/UIA: detect more dilaogs using class names and IsDialog property in Windows 10 RS5. Re #8405. Instead of looking up only three class names, look up more via: * Additional class names found in Windows 10 and various apps. * In RS5, IsDialog property. This allows dialogs such as app uninstlal dialog and many others to be recognized and their contents read by NVDA. * UIA/IsDialog: address review actions. Re #8405. Reviewed by @LeonarddeR (Babbage): simplify dialog flag via assigning this flag from exception hyandler segment rahter than setting it to False when COM error is thrown. This then allows IsDialog flag to be set whether or not exceptoin has occured. * Upgrade to IUIAutomation6/IUIAutomationElement9 interface (based on build 17692). * Use IsDialog property directly from IUIAutomationElement9 interface. re #8405. * UIA: Popup is not supported as a fallback dialog class as the className is too generic. All the other classes are clearly dialogs from the name. * Update What's new
- Loading branch information