Skip to content

Discard duplicated value for a Windows Explorer list items when accessed via IAccessible#10750

Merged
feerrenrut merged 2 commits into
nvaccess:masterfrom
lukaszgo1:I10620
Feb 6, 2020
Merged

Discard duplicated value for a Windows Explorer list items when accessed via IAccessible#10750
feerrenrut merged 2 commits into
nvaccess:masterfrom
lukaszgo1:I10620

Conversation

@lukaszgo1

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #10620 fixes #2395

Summary of the issue:

Windows Explorer list items repeat name as the value. By default we are accessing it via UIA, and in this case the value was discarded. There are situations, such as NVDA's own open windows where UIA cannot be used (it causes freezes) and in these cases repetitions were annoying.

Description of how this pull request fixes the issue:

Similar to what has been done for UIA value of these items is discarded when accessed via IAccessible

Testing performed:

Tested that when navigating in the list view in open window from add-on manager value of list items is not announced. Tested the same in Windows Explorer with UIA disabled.

Known issues with pull request:

None known

Change log entry:

Section: Bug fixes
When installing add-on from add-ons manager names of files and folders in the browse window are no longer reported twice.

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There may be differences in behavior for IAccessible on different versions of Windows. Can you please confirm?

Comment thread source/NVDAObjects/IAccessible/__init__.py Outdated

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lukaszgo1 that seems like good test coverage. I'll merge in this PR.

@feerrenrut feerrenrut merged commit f3620a7 into nvaccess:master Feb 6, 2020
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Feb 6, 2020
feerrenrut added a commit that referenced this pull request Feb 6, 2020
@feerrenrut feerrenrut modified the milestones: 2019.3, 2020.1 Feb 6, 2020
@lukaszgo1 lukaszgo1 deleted the I10620 branch February 6, 2020 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In the windows explorer in the open dialog file list file names are read twice Dubbal Speaking in the New Add-On manager

3 participants