You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Accessibility: The list item of comboBox incorrectly displayed in inspect tree when setting its DropDownStyle as DropDown or DropDownList. #3654
More Info:
This is not a regression issue, it also reproduce on .NET Core 3.1.
Have you experienced this same bug with .NET Framework?:
No
Problem description:
When setting ComboBox's DropDownStyle as DropDown or DropDownList, the list item of comboBox doesn't display below Form1 window node, it incorrectly displayed below Desktop1 panel node.
Expected behavior:
The list items of comboBox's UIA hierarchy should display below Form1 window node.
Minimal repro:
Launch Inspect tool.
Create WinForms core project with a comboBox control.
Set the DropDownStyle property of comboBox as DropDown or DropDownList.
Run the project.
Focus on the list items of comboBox, then observe the UIA hierarchy in inspect tree.
Hi @SergeySmirnov-Akvelon, we still can repro this issue on latest VS 16.9 P2 + .NET SDK 6.0, have uploaded the demo app and repro steps video files. Any other question please let me know. DemoApp.zip
Activity
SergeySmirnov-Akvelon commentedon Oct 23, 2020
Hi @Amy-Li03. I cannot reproduce it on my local environment. ComboBoxes with "DropDown" or "DropDownList" styles are displayed correctly in Inspector.


Could you please clarify what actions you are taking to reproduce this? Also could you please attach the project where you reproduce this?
Amy-Li03 commentedon Oct 27, 2020
Hi @SergeySmirnov-Akvelon, we still can repro this issue on latest VS 16.9 P2 + .NET SDK 6.0, have uploaded the demo app and repro steps video files. Any other question please let me know.

DemoApp.zip
SergeySmirnov-Akvelon commentedon Oct 27, 2020
Hi @Amy-Li03. It works correctly on my environment:
Could you please clarify your Windows and Inspector versions?
Amy-Li03 commentedon Oct 27, 2020
Hi @SergeySmirnov-Akvelon, my environment as following:
Microsoft Windows Version: 1909 (OS Build 18363.1139)
NET Core Version: .Net SDK 6.0.100-alpha.1.20516.5
Vistual Studio Version: 16.9.0 Preview 2.0 main branch latest build
Inspector Version: 7.2.0.0 OLEACC Version 7.2.18362.1 (WinBuild. 160101.0800)
In addition, have added you as administrator on my machine, IP have sent to you in teams.
SergeySmirnov-Akvelon commentedon Oct 27, 2020
@Amy-Li03, thank you so much. I have reproduced it using Inspect with your version
John-Qiao commentedon Jan 13, 2021
Verified the issue with latest .NET SDK 6.0.100-alpha.1.21062.11, it has been fixed, please check below screenshot:
