Windows 10: Notifications from Action Center are not announced #5136

Closed
nvaccessAuto opened this Issue Jun 3, 2015 · 6 comments

2 participants

@nvaccessAuto

Reported by nvdakor on 2015-06-03 00:27
Hi,
In Windows 10, all notifications are now housed in Action Center (shortcut key: Windows+A). However, when new notifications appear, NVDA does not announce them automatically.
STR:

  • Perform an action that triggers these notifications (say, inserting a DVD).
  • When the notification is shown, Windows will play a sound and you can press Windows+V to move to the notification. Expected: NVDA announces notifications automatically. Actual: NvDA does not announce new notifications.

Technical: My investigation shows the following:

  • The "Action Center notifications" are really toast notifications, evidenced by the fact that one can press Windows+V to bring it to focus.
  • For some odd reasons, toast notifications in Windows 10 are now windows, not tooltips as in Windows 8.x. Thankfully, NVDA already has control type defined for UIA windows, so the solution was simple.
  • Thankfully, these toasts have one unique attribute: UIA Automation ID is Normal Toast View. I don't know if continuum may change this (I bet it won't change regardless of whether we're working from tablet or desktop mode).

Solution: Since NVDA deals with toast notifications in Windows 8.x via UIA.Toast, it is a matter of identifying unique characteristics of Windows 10 version, as WinTen's Action Center notifications are really toasts in disguise. However, one needs to cover both Windows 8.x and Windows 10, hence the length of the conditionals (as you'll see in the commit below). The solution (below commit) was tested on Windows 8.1 and Windows 10 Build 10130 and works as expected.
Thanks.

@nvaccessAuto

Comment 1 by Joseph Lee <joseph.lee22590@... on 2015-06-03 00:31
In [db81782]:
```CommitTicketReference repository="" revision="db8178259ed33266499b424346cbb717ed2ed9b4"
UIA: Support toast announcements in Windows 10. re #5136

@nvaccessAuto

Comment 2 by nvdakor on 2015-07-02 00:48
Hi,
It works in Build 10158 as well. Code can be found in t5136 branch. Thanks.

@nvaccessAuto

Comment 3 by jteh on 2015-07-03 07:12
Thanks! Code looks fine. I'd like to verify that this works on another system too, but unfortunately, I can't seem to get a toast to appear at all on my Win10 system. I'm just updating it now in the hope that I can make this work.
Changes:
Milestone changed from None to 2015.3

@nvaccessAuto

Comment 4 by James Teh <jamie@... on 2015-07-06 01:11
In [651830e]:
```CommitTicketReference repository="" revision="651830edf2dad2a2f492678ce615a97284cad2a0"
Merge branch 't5136' into next

Incubates #5136.

Changes:
Added labels: incubating
@nvaccessAuto

Comment 5 by jteh on 2015-07-06 01:12
Confirmed that this works for me. Thanks again.

@nvaccessAuto

Comment 6 by James Teh <jamie@... on 2015-07-20 07:52
In [ba07af3]:
```CommitTicketReference repository="" revision="ba07af3a49ce29bab66785cf324f6acc6e7c495e"
Windows 10 Toast notifications are now reported as expected.

Fixes #5136.

Changes:
Removed labels: incubating
State: closed
@nvaccessAuto nvaccessAuto added the bug label Nov 10, 2015
@jcsteh jcsteh was assigned by nvaccessAuto Nov 10, 2015
@nvaccessAuto nvaccessAuto added this to the 2015.3 milestone Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment