Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.1
-
Windows 10
-
-
947df4e63ec9ef74de81f95eacc994a440874cbd
Description
When an element is not visible then it should not be shown in the element tree at all when using tools like Inspect. This is in accordance to the MSDN documentation - https://msdn.microsoft.com/en-us/library/system.windows.automation.automationelement.automationelementinformation.isoffscreen(v=vs.110).aspx - which states:
If the element is something that the end-user does not perceive at all or is referred to as being "programmatically hidden" (for example, a dialog box that has been dismissed but where the underlining object is cached by the application) then it should be removed from the element tree rather than setting the value of IsOffscreen to true.