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

ToolStripControlHost with a custom control freezes UIA clients #4835

Closed
vladimir-krestov opened this issue Apr 23, 2021 · 1 comment · Fixed by #4850
Closed

ToolStripControlHost with a custom control freezes UIA clients #4835

vladimir-krestov opened this issue Apr 23, 2021 · 1 comment · Fixed by #4850
Assignees
Labels
a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards 🪲 bug Product bug (most likely)

Comments

@vladimir-krestov
Copy link
Contributor

  • .NET Core Version: 6.0

  • Have you experienced this same bug with .NET Framework?: Yes

  • Original bug: 1313197

Problem description:

  • If a ToolStrip has ToolStripControlHost item, Inspect can't show its accessbiility tree and freezes:
    hMfSttv4cb

Expected behavior:

  • Inspect shows a correct accessbiility tree for a ToolStrip with a ToolStripControlHost:
    image

Minimal repro:

  • Create a .NET 6.0 app
  • Add a ToolStrip to the app
  • Create ToolStripControlHost with some control (eg. new ToolStripControlHost(new RadioButton())) and add it to the ToolStrip items
  • Add several any items to ToolStrip (optional)
  • Run the app and check the accessibility tree using Inspect
@vladimir-krestov vladimir-krestov added 🪲 bug Product bug (most likely) a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards labels Apr 23, 2021
@vladimir-krestov vladimir-krestov self-assigned this Apr 23, 2021
@ghost ghost added the 🚧 work in progress Work that is current in progress label Apr 27, 2021
@ghost ghost removed the 🚧 work in progress Work that is current in progress label Jun 23, 2021
@Zheng-Li01
Copy link
Member

Verified the issue with latest 6.0.0-preview.7.21330.1, the issue has been fixed that Inspect & AccessibilityInsight tools are working well when using ToolStripControlHost add custom controls for ToolStrip Control, please see below GIF.
Issue4835

@ghost ghost locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a11yMAS High Priority - Accessibility violation of Microsoft Accessibility Standards 🪲 bug Product bug (most likely)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants