Skip to content

Accessibility: The list item of comboBox incorrectly displayed in inspect tree when setting its DropDownStyle as DropDown or DropDownList. #3654

Closed

Description

@Amy-Li03
  • .NET Core Version:
    .NET SDK 5.0.100-rc.1.20377.3

  • 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.
Core

Expected behavior:
The list items of comboBox's UIA hierarchy should display below Form1 window node.
Framework

Minimal repro:

  1. Launch Inspect tool.
  2. Create WinForms core project with a comboBox control.
  3. Set the DropDownStyle property of comboBox as DropDown or DropDownList.
  4. Run the project.
  5. Focus on the list items of comboBox, then observe the UIA hierarchy in inspect tree.

Activity

  1. added
    a11y-MAS
    tenet-accessibility
    and removed
    a11y-MAS
    on Jul 28, 2020
  2. added this to the 6.0 milestone on Sep 2, 2020
  3. SergeySmirnov-Akvelon commented on Oct 23, 2020

    @SergeySmirnov-Akvelon
    Contributor

    Hi @Amy-Li03. I cannot reproduce it on my local environment. ComboBoxes with "DropDown" or "DropDownList" styles are displayed correctly in Inspector.
    Issue-3654-dropdown
    Issue-3654-dropdownlist

    Could you please clarify what actions you are taking to reproduce this? Also could you please attach the project where you reproduce this?

  4. Amy-Li03 commented on Oct 27, 2020

    @Amy-Li03
    ContributorAuthor

    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
    reproSteps

  5. SergeySmirnov-Akvelon commented on Oct 27, 2020

    @SergeySmirnov-Akvelon
    Contributor

    Hi @Amy-Li03. It works correctly on my environment:

    • Microsoft Windows Version 10.0.19041.388
    • NET Core Version: .Net SDK 5.0.100-rc.2.20479.15, last master
    • Vistual Studio Version 16.8.0 Preview 5.0
    • Inspector Version 7.2.0.0 OLEACC Version 7.2.194.041.1 (WinBuild. 160101.0800)

    issue-3654

    Could you please clarify your Windows and Inspector versions?

  6. Amy-Li03 commented on Oct 27, 2020

    @Amy-Li03
    ContributorAuthor

    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.

  7. SergeySmirnov-Akvelon commented on Oct 27, 2020

    @SergeySmirnov-Akvelon
    Contributor

    @Amy-Li03, thank you so much. I have reproduced it using Inspect with your version

  8. ghost added
    🚧 work in progress
    on Nov 2, 2020
  9. ghost removed
    🚧 work in progress
    on Nov 26, 2020
  10. John-Qiao commented on Jan 13, 2021

    @John-Qiao
    Contributor

    Verified the issue with latest .NET SDK 6.0.100-alpha.1.21062.11, it has been fixed, please check below screenshot:
    3654-TestResult

  11. removed this from the 6.0 milestone on May 17, 2021
  12. ghost locked as resolved and limited conversation to collaborators on Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

tenet-accessibility

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions