Skip to content

Narrator and Inspect become unresponsive inspecting Combobox control - #4187

Merged
RussKie merged 1 commit into
dotnet:masterfrom
SergeySmirnov-Akvelon:Issue-3452_Accessibility_tools_does_not_work_with_Combobox
Nov 5, 2020
Merged

RussKie merged 1 commit into
dotnet:masterfrom
SergeySmirnov-Akvelon:Issue-3452_Accessibility_tools_does_not_work_with_Combobox

Conversation

@SergeySmirnov-Akvelon

@SergeySmirnov-Akvelon SergeySmirnov-Akvelon commented Nov 3, 2020 •

Copy link
Copy Markdown
Contributor

Fixes #3452

Proposed changes

Issue is reproduced due to incorrect implementation of the "ComboBoxAccessibleObject.IRawElementProviderHwndOverride" method. After adding of "ComImport" attribute, the "ComboBoxAccessibleObject.IRawElementProviderHwndOverride" method started to be used, which lead to an issue. As fix for it, we removed "ComImport" and stopped to using it.

I suggest to restore "ComImport" and remove overriding "ComboBoxAccessibleObject.IRawElementProviderHwndOverride" method.

Customer Impact

No

Regression?

  • Yes

Risk

  • Minimal

Test methodology

  • CTI
  • Manually

Accessibility testing

  • Inspect
  • Narrator

Test environment(s)

  • Microsoft Windows [Version 10.0.19041.388]
  • .Net SDK 5.0.100-rc.2.20479.15
Microsoft Reviewers: Open in CodeFlow

…top responding dotnet#3452

Issue is reproduced due to incorrect implementation of the "ComboBoxAccessibleObject.IRawElementProviderHwndOverride" method. After adding of "ComImport" attribute, the "ComboBoxAccessibleObject.IRawElementProviderHwndOverride" method started to be used, which lead to an issue. As fix for it, we removed "ComImport" and stopped to using it.

I suggest to restore "ComImport" and remove overriding "ComboBoxAccessibleObject.IRawElementProviderHwndOverride" method.
@SergeySmirnov-Akvelon
SergeySmirnov-Akvelon requested a review from a team as a code owner November 3, 2020 10:31
@codecov

codecov Bot commented Nov 3, 2020

Copy link
Copy Markdown

Codecov Report

Merging #4187 into master will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##              master       #4187   +/-   ##
=============================================
  Coverage   98.12514%   98.12514%           
=============================================
  Files            497         497           
  Lines         258526      258526           
  Branches        4492        4492           
=============================================
  Hits          253679      253679           
  Misses          4089        4089           
  Partials         758         758           
Flag Coverage Δ
Debug 98.12514% <ø> (ø)
production 100.00000% <ø> (ø)
test 98.12514% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@RussKie RussKie changed the title Fix Fix issue with hanging of Narrator and Inspect when user tries to get data about Combobox control Narrator and Inspect become unresponsive inspecting Combobox control Nov 4, 2020
@RussKie RussKie added the waiting-for-testing The PR is awaiting manual testing by the primary team; no action is yet required from the author(s) label Nov 4, 2020
@SergeySmirnov-Akvelon

Copy link
Copy Markdown
Contributor Author

CTI approved

@SergeySmirnov-Akvelon SergeySmirnov-Akvelon removed the waiting-for-testing The PR is awaiting manual testing by the primary team; no action is yet required from the author(s) label Nov 5, 2020
@RussKie
RussKie merged commit 2195c2c into dotnet:master Nov 5, 2020
@RussKie
RussKie deleted the Issue-3452_Accessibility_tools_does_not_work_with_Combobox branch November 5, 2020 10:57
@ghost ghost added this to the 6.0 Preview1 milestone Nov 5, 2020
@RussKie

RussKie commented Nov 5, 2020

Copy link
Copy Markdown
Contributor

Champion!

@ghost ghost locked as resolved and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Accessibility] ComboBox control causes Narrator and Inspect to stop responding

2 participants