-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
UIA: handle structure change events #6240
Comments
Could this be request only since watching these too boldly might result On 8/5/2016 2:25 AM, Joseph Lee wrote:
Websites: email me at [email protected] mailto:[email protected] |
I tend to agree that this would need to be request only. The question is how we'd do this. It can't be done simply with eventHandler.requestEvents, since that function intentionally doesn't know about API specific stuff but UIA requires a root element to listen beneath. Perhaps we'd need to add a function in UIAHandler for this. |
Hi, Recent WinTenApps add-on work on letting NVDA listen to additional events without resorting to restarting UIA handler yielded some possibilities:
Although this ticket will focus on structure change event, I propose a more generic solution (another ticket) so app modules, global plugins, NVDA objects and so on can tell NVDA to subscribe to (and move away from) additional events. In case of structure change, what's needed is defining UIAHandler.handler.clientObject.AddStructureChangedEventHandler that must take UIA info for an element (in order to avoid a storm of these events), and tell NVDA to do something about it somewhere. Thanks. |
Hi, Coming back to this... I'm thinking event groups might be of use. However, given that we have more UIA events now and since the most important use case is no longer important (Skype apps has gone through a complete redesign in version 8), I'm favor of closing this issue. Thanks. |
Closing as suggested by Joseph above. |
Hi,
Structure change events are used to let clients know if something was added or removed in a container (as far as I can tell). At the moment NVDA's UIA handler does not recognize this event. However, there are scenarios that uses this event, with one of them being Skype Preview UWP (Universal Windows Platform) app where structure change event is fired whenever a new message is received (Skype Preview app support is another ticket of its own). Thus I'd like to propose adding support for at least structure change/add event in NVDA. Thanks.
The text was updated successfully, but these errors were encountered: