[PATCH 0/3] MR216: uiautomationcore: More UiaProviderFromIAccessible work.

Connor McAdams (@cmcadams) wine at gitlab.winehq.org
Thu Jun 9 08:48:37 CDT 2022


On Thu Jun  9 13:37:44 2022 +0000, Huw Davies wrote:
> This match_count thing looks fragile.  Can't you just bail if match
> fails at any point?
So, an IAccessible can match based on properties can either match all four of the following properties:
get_accRole
get_accState
get_accChildCount
get_accLocation

or match get_accName. It has to match all four of the prior properties to be considered a match if get_accName doesn't return a name for both elements. We can bail if match fails at any point, which is why we go to exit.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/216#note_1757



More information about the wine-devel mailing list