reports
reports copied to clipboard
FB10133386: in Catalyst apps, setting kAXSelectedTextAttribute does not work
- Date: 2022-06-09
- Resolution: Open
- Area: Something else not on this list
- OS: macOS 12.4
- Type: Incorrect/Unexpected Behavior
Description
setting the kAXSelectedTextAttribute does not work. it is possible to select text through kAXSelectedTextRangeAttribute, but it is not possible to replace the text through kAXSelectedTextAttribute. AXUIElementSetAttributeValue returns an AXError of success, but it does nothing.
here's a Xcode project showing the issue: https://github.com/godbout/AXBugsWithCatalystApps
adding a screencast showing the issue
https://user-images.githubusercontent.com/121373/172886535-b696f61d-509e-4cd4-ac08-1d992f6566ea.mp4