Skip to content

Cannot locate UI element on any OS that supports UIA_WindowVisibilityOverridden #5443

@SamBent

Description

@SamBent

[Port of a servicing fix for .NET 4.7-4.8]

Problem description:
Use .NET/WPF UIAutomation wrappers to search.

Actual behavior:
WPF doesn't recognize the "UIA_WindowVisibilityOverridden" window property, and doesn't control its search accordingly. A window whose rectangle is empty stops the search.

Expected behavior:
The search continues if the property is set to 1 (ForceVisible).

Minimal repro:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions