-
-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unlike Narrator, NVDA does not read the notification for no available app updates in the Microsoft Store #7984
Comments
Hi, Confirmed. Technical: either name change event isn't picking up the correct object (in which case I can fix it by probing for things and editing my add-on), or notification UIA event must be caught (requires a fix from NVDA Core). The UIA notification event is part of build 16299 and later. |
…ported. Re nvaccess#8009. Also includes nvaccess#7984: in Windows 10 Version 1709 (Fall Creators Update), UIA notification event is introduced for the benefit of screen readers so they can announct needed text. This is part of UIA 5 interface, which NVDA does not support yet. The UIA notification event accepts additional parameters such as notification kind, notification processing constant and activit ID. This is useful for controlling how things should be announced and when. For now, the handler will do nothing. Also, when initializing UIA handler, use UIA 5, and then fall back to UIA 4.
nvaccess#7984. If IUIAutomation5 is in use, add notificaiton event handler, otherwise COM error is thrown. Also, instead of relying solely on Python MRO to retrieve UIA interface, save the string somewhere for reference purposes and for future use.
Hi, Update: #8009 provides a more general case. Thanks. |
You know my feelings about what microsoft seem to be doing lately. they have
never heard the proverb, if its not broken don't fix it!
grin.
|
Hi, in this case, they did publish some materials about it, so both sides are equally at fault (I think). Thanks.
From: Brian Gaff [mailto:notifications@github.com]
Sent: Saturday, February 24, 2018 2:03 AM
To: nvaccess/nvda <nvda@noreply.github.com>
Cc: Joseph Lee <joseph.lee22590@gmail.com>; Comment <comment@noreply.github.com>
Subject: Re: [nvaccess/nvda] Unlike Narrator, NVDA does not read the notification for no available app updates in the Microsoft Store (#7984)
You know my feelings about what microsoft seem to be doing lately. they have
never heard the proverb, if its not broken don't fix it!
grin.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#7984 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AHgLkPL-mGXspsbB8-GKhT-4g_SijeqMks5tX95NgaJpZM4SA3wC> .
|
…ons in Windows 10 Fall Creators Update and later (#8045) * UIA: support IUIAutomation5 so notification event tracking can be supported. Re #8009. Also includes #7984: in Windows 10 Version 1709 (Fall Creators Update), UIA notification event is introduced for the benefit of screen readers so they can announct needed text. This is part of UIA 5 interface, which NVDA does not support yet. The UIA notification event accepts additional parameters such as notification kind, notification processing constant and activit ID. This is useful for controlling how things should be announced and when. For now, the handler will do nothing. Also, when initializing UIA handler, use UIA 5, and then fall back to UIA 4. * UIA notification event: treat it the same as any other event except for additional kwargs for event execution. Re #8009. Treat UIA notification event just like others except for two things: * A new UIA_notification event will be fired. * The new event will populate kwargs based on arguments for the actual event handling function (sender, displayString, etc.). This means app modules, global plugins, objects and others must include these kwargs when defining this event. * UIA interface: obtain appropriate IUIAutomation interface based on Windows release. Re #8009. A new function named getIUIAInterface (along with a private companion for Windows 10) is introduced to obtain highest supported IUIAutomation interface. Depending on Windows release, it'll return various interfaces. In case of Windows 10, a companion function will return appropriate interface based on build ranges. * UIA notification event: add the handler if IUIAutomation5 is in use. Re #7984. If IUIAutomation5 is in use, add notificaiton event handler, otherwise COM error is thrown. Also, instead of relying solely on Python MRO to retrieve UIA interface, save the string somewhere for reference purposes and for future use. * UIA notification event: camel case for consistency. * NVDAObjects/UIA: handle UIA notification event from object level. Re #8009. The base implementation for UIA notification handler will just speak whatever notification it receives. Subclasses are more than welcome to add further processing routines. * UIA interface: query interface from version 5 downwards. Re #8009. Comments from @LeonarddeR and @michaelDCurran: build ranges aren't useful, subsequently proven to be true. As an alternative, query interfaces from newest to oldest, which does allow NVDA to use IUIAutomation5 interface from source. Also, this means getIUIAInterface function is no longer necessary. * UIA support: check isinstance, no more IUIAVersion string. Re #8009. Commented by @LeonarddeR and @michaelDCurran: check isinstance instead of keeping an eye on IUIA interface string. * UIA notification: do not include sender argument. Re #8009. Reviewed by @michaelDCurran (NV Access): sender argument is redundant. * UIA notification: do not announce notifications from background apps. Re #8045.
This works as expected in NVDA 2019.1.1. Closing as works for me. |
Steps to reproduce:
Expected behavior:
NVDA should report the displayed on the screen message about no available updates, as Narrator does.
Actual behavior:
NVDA does not report the notification about no available updates.
System configuration:
The text was updated successfully, but these errors were encountered: