Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent exception when creating a ListViewGroupAccessibleObject #10934

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Tanya-Solyanik
Copy link
Member

@Tanya-Solyanik Tanya-Solyanik commented Feb 22, 2024

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 #10910 (comment)
Related to #4019

Draft because I'll do more manual testing.

Microsoft Reviewers: Open in CodeFlow

   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)
@Tanya-Solyanik Tanya-Solyanik changed the title Intermittent exception when creating a ListViewAccessibleObject Intermittent exception when creating a ListViewGroupAccessibleObject Feb 22, 2024
@dotnet-policy-service dotnet-policy-service bot added the draft draft PR label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draft draft PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant