reports icon indicating copy to clipboard operation
reports copied to clipboard

FB10133386: in Catalyst apps, setting kAXSelectedTextAttribute does not work

Open godbout opened this issue 2 years ago • 1 comments

  • 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

godbout avatar Jun 09 '22 15:06 godbout

adding a screencast showing the issue

https://user-images.githubusercontent.com/121373/172886535-b696f61d-509e-4cd4-ac08-1d992f6566ea.mp4

godbout avatar Jun 09 '22 15:06 godbout