Skip to content

Windows 10/File Explorer: recognize ApplicationFrameWindow as UIA object so first selected emoji and cloud clipboard item can be announced in May 2019 Update and later#10375

Merged
michaelDCurran merged 3 commits into
nvaccess:masterfrom
josephsl:i9204winTen19H1EmojiPanel
Oct 21, 2019

Conversation

@josephsl

Copy link
Copy Markdown
Contributor

Hi,

Note: this is a smaller version of #9205

Link to issue number:

Fixes #9204

Summary of the issue:

In Windows 10 Version 1903 (May 2019 Update) and later, when emoji panel or cloud clipboard opens, first selected item is not announced because UIA window open event is fired by File Explorer.

Description of how this pull request fixes the issue:

Allow ApplicationFrameWindow in File Explorer to be recognized as a UIA object so UIA window open event can be detected for it, which will then be forwarded to modern keyboard so first selected item can be announced for emoji panel and clipboard history.

Testing performed:

Tested via Windows 10 App Essentials on Version 1903 and later.

Known issues with pull request:

None

Change log entry:

Bug fixes:

In Windows 10 May 2019 Update and later, NVDA will once again announce first selected emoji or clipboard item when emoji panel and clipboard history opens, respectively. (#9204)

…and later. Re nvaccess#9204.

In build 18305 and later, it is File Explorer that raises window open event for modern keyboard. Because of this, when emoji panel and related panels open, first selected item will not be announced. Thus:
* Recognize the top-level modern input window as proper UIA item. Although a 'Close' button is next to it, not all input features will be accompanied with this - emoji panel does but dictation does not.
* If window open event is fired from File Explorer, make sure that the child window is indeed a modern input window.
Comment thread source/appModules/explorer.py Outdated
import time
import appModuleHandler
import controlTypes
import winVersion

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.

This import isn't necessary -- winVersion is already imported a few lines below.

@josephsl

josephsl commented Oct 15, 2019 via email

Copy link
Copy Markdown
Contributor Author

@michaelDCurran michaelDCurran merged commit 36a23a7 into nvaccess:master Oct 21, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Oct 21, 2019
michaelDCurran added a commit that referenced this pull request Oct 21, 2019
@josephsl josephsl deleted the i9204winTen19H1EmojiPanel branch November 2, 2019 11:29
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.

Windows 10 1903/emoji panel: no opening announcement

4 participants