• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AXUIElementCopyElementAtPosition call crashes OpenOffice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AXUIElementCopyElementAtPosition call crashes OpenOffice
      • From: Chris Fleizach <email@hidden>
    • Text View Scroll
      • From: AIS-VI - Ben Vegiard <email@hidden>
  • Next by Date: Text View Scroll
  • Next by thread: Text View Scroll
  • Index(es):
    • Date
    • Thread