AXUIElementCopyElementAtPosition call crashes OpenOffice
AXUIElementCopyElementAtPosition call crashes OpenOffice
- Subject: AXUIElementCopyElementAtPosition call crashes OpenOffice
- From: Brian Krisler <email@hidden>
- Date: Tue, 10 Apr 2012 22:18:03 -0400
Hi,
During some testing of an application that uses AXUIElementCopyElementAtPosition, I have discovered
that it is pretty easy to crash OpenOffice.
To reproduce:
Run UIElementInspector (Xcode sample project)
Launch OpenOffice.
Create a new Text document
Click on the Toolbar button for 'Font Color'
Select 'Automatic'
OpenOffice will crash. Repeat the sequence without UIElementInspector, and everything works fine.
The same crash will occur if you click on the Highlight Button and select 'None'.
I have narrowed this crash down in my own code to the AXUIElementCopyElementAtPosition call.
This crash presents an interesting problem since I now have no way to get the UIElement for a given
position.
Has anyone else encountered this issue and have a workaround?
Thanks
Brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden