-
Notifications
You must be signed in to change notification settings - Fork 1.1k
System.Windows.Automation.InvokePattern.Invoke blocks on a menu item. #10244
Copy link
Copy link
Labels
💥 regression-releaseRegression from a public releaseRegression from a public release🚧 work in progressWork that is current in progressWork that is current in progressinvestigateItems we want to investigate before making a decision on an issueItems we want to investigate before making a decision on an issuetenet-accessibilityMAS violation, UIA issue; problems with accessibility standardsMAS violation, UIA issue; problems with accessibility standardswaiting-on-teamThis work item needs to be discussed with team or is waiting on team action in order to proceedThis work item needs to be discussed with team or is waiting on team action in order to proceed
Milestone
Metadata
Metadata
Assignees
Labels
💥 regression-releaseRegression from a public releaseRegression from a public release🚧 work in progressWork that is current in progressWork that is current in progressinvestigateItems we want to investigate before making a decision on an issueItems we want to investigate before making a decision on an issuetenet-accessibilityMAS violation, UIA issue; problems with accessibility standardsMAS violation, UIA issue; problems with accessibility standardswaiting-on-teamThis work item needs to be discussed with team or is waiting on team action in order to proceedThis work item needs to be discussed with team or is waiting on team action in order to proceed
Type
Fields
Give feedbackNo fields configured for Bug.
.NET version
7.0.403
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Don't know, it works in .NET Framework 4.6.2, but not in latest version of .NET Framework 4.8
Issue description
Run the unit test in the following solution. Notice that the unit test hangs on line 80 of UnitTest1.cs which is the InvokePattern.Invoke call on the FIle/Open... menu item. This makes it impossible to test any menu item using System.Automation?
Steps to reproduce
WinFormsApp1.zip