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 combo boxes with value pattern #6337
Comments
We already use the value pattern where it's available. In fact, that's
the way we already get the value from this particular combo box.
We don't report changes here because even though it supports the value
pattern, it does not fire value property change events. Narrator gets
around this by reporting the selection change event on child items. We
can probably do the same in this specific case.
|
Hi, In that case, it might be best to follow conventions unless MS does something interesting in Redstone 2. Thanks for letting us know about this. From: James Teh [mailto:notifications@github.com] We already use the value pattern where it's available. In fact, that's We don't report changes here because even though it supports the value — |
Hi, Redstone 2 did not change this, so I guess a PR might be in order. Thanks. |
…that does expose value pattern yet does not raise the said event. re nvaccess#6337. Some combo boxes does expose value pattern but does not raise value change event. To get around this, selection on its children (items) will be tracked (same trick as combo boxes with no value pattern).
…#6337. Caught by Jamie Teh (NV Access): when searching for items in store, the media type list is sometimes shown, and this may not have the required pattern at all. If this happens, Attribute Error is raised. When handling this, catch this error first, otherwise AttributeError will continue to be raised.
…that does expose value pattern yet does not raise the said event. re #6337 (#7132) Some combo boxes do expose value pattern but do not raise value change event. To get around this, selection on its children (items) will be tracked (same trick as combo boxes with no value pattern). * NVDAObjects/UIA: catch AttributeError seen in some lists. re #6337. Caught by Jamie Teh (NV Access): when searching for items in store, the media type list is sometimes shown, and this may not have the required pattern at all. If this happens, Attribute Error is raised. When handling this, catch this error first, otherwise AttributeError will continue to be raised.
Fixed by pr #7132 |
Hi,
May apply to Windows 8 and later: there are combo boxes that does expose value pattern (for example, Settings/Devices/Auto play). As of now, NVDA handles ones without value pattern, but it might be helpful to work with ones that does expose this pattern.
Thanks.
The text was updated successfully, but these errors were encountered: