Skip to content

Open With: treat Shell-Flyout as a good UIA window#11336

Merged
michaelDCurran merged 3 commits into
nvaccess:masterfrom
josephsl:i11335openwith
Jul 6, 2020
Merged

Open With: treat Shell-Flyout as a good UIA window#11336
michaelDCurran merged 3 commits into
nvaccess:masterfrom
josephsl:i11335openwith

Conversation

@josephsl

@josephsl josephsl commented Jul 5, 2020

Copy link
Copy Markdown
Contributor

Link to issue number:

Closes #11335

Summary of the issue:

IN Windows 10 May 2020 Update, Open With dialog content is not announced on some systems.

Description of how this pull request fixes the issue:

Treat Shell_Flyout window as a good UIA window as far as Open With dialog is concerned. Not only this resolves the mentioned issue, it will now let NVDA not announce "pane" when Open With opens. Also updated copyright header (the app module file was actually added in 2011 to provide a temporary workaround for Open With window in Windows 8 preview).

Testing performed:

Tested via Windows 10 App Essentials add-on and via NVDA source code directly:

  • Reading Open With window on all Windows releases since Windows 8.1: yes, reads dialog content.
  • Reads Open With dialog in May 2020 Update: yes, reads dialog content.

Known issues with pull request:

None

Change log entry:

If one is to be provided:

Bug fixes: NVDA will announce Open With dialog content in Windows 10 May 2020 Update. (#11300

Additional considerations on app module content:

With the introduction of isGoodUIAWindow method in app modules, it might be tempting to go with this approach all the way - that is, remove overlay class chooser. Testing shows that it is okay to remove chooseNVDAObjectOverlayClasses for Open With app module for this particular case, but there might be times when overlay classes defined in this app module are needed. Therefore I propose revisiting the state of Open With app accessibility on Windows 8.1 and later before doing additional work on this app module after the pull request (perhaps deprecate this app module altogether).

Thanks.

josephsl added 2 commits July 5, 2020 00:46
…s first added in 2011 as a temporary workaround for Open With issue in Windows 8 preview. Re nvaccess#11335
…ccess#11335.

ON some systems running Windows 10 May 2020 UPdate (Version 2004), Open With dialog was not read, although NVDA will say 'pane'. Turns out this is a UIA element that is seen as an IAccessible by NVDA. Thus classify Sheell_Flyout window as a good UIA window. NOt only does this let NVDA announce Open With dialog in May 2020 Update, it also lets nVDA not announce 'pane' when Open With opens.
@josephsl josephsl requested a review from michaelDCurran July 5, 2020 08:04
@Brian1Gaff

Brian1Gaff commented Jul 5, 2020 via email

Copy link
Copy Markdown

@josephsl

josephsl commented Jul 5, 2020 via email

Copy link
Copy Markdown
Contributor Author

@Brian1Gaff

Brian1Gaff commented Jul 5, 2020 via email

Copy link
Copy Markdown

@josephsl

josephsl commented Jul 5, 2020 via email

Copy link
Copy Markdown
Contributor Author

@michaelDCurran michaelDCurran merged commit a28fdf5 into nvaccess:master Jul 6, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.3 milestone Jul 6, 2020
@josephsl josephsl deleted the i11335openwith branch July 19, 2020 22:09
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.

2020.2beta2 does not read Windows 10-2004 Open With dialogs automatically

4 participants