winforms icon indicating copy to clipboard operation
winforms copied to clipboard

Intermittent exception when creating a ListViewGroupAccessibleObject

Open Tanya-Solyanik opened this issue 1 year ago • 0 comments

This fix is based on this call stack: System.InvalidOperationException: ListView

at System.Windows.Forms.ListViewGroup.ListViewGroupAccessibleObject..ctor(ListViewGroup owningGroup, Boolean owningGroupIsDefault) at System.Windows.Forms.ListViewGroup.get_AccessibilityObject() at System.Windows.Forms.ListView.OnGotFocus(EventArgs e)

This is a follow up on https://github.com/dotnet/winforms/pull/10910#issuecomment-1958261561 Related to https://github.com/dotnet/winforms/issues/4019

Draft because I'll do more manual testing.

Microsoft Reviewers: Open in CodeFlow

Tanya-Solyanik avatar Feb 22 '24 18:02 Tanya-Solyanik