10.8.4, but not in earlier systems.
Long: My application is a front end to TeX, displaying the source in
a window and the typeset output in a second window. The
second window uses PDFKit.
In the latest Mountain Lion, 10.8.4, Voice Over can be turned on
in a document that is not yet typeset. The document can be
typeset once and the pdf window opens. Voice Over works
in that window.
But typesetting again causes a crash when this
pdf window is updated using
pdfDoc = [[[PDFDocument alloc] initWithURL: [NSURL fileURLWithPath: imagePath]] autorelease];
[self setDocument: pdfDoc];
and then brought forward.
The program has a preference setting
which does not bring the pdf window forward after typesetting,
and then, with VoiceOver on, documents can be typeset as often
as desired, with changes in between. Clicking in the PDF
window to bring it forward causes a crash, always at the same
spot:
0 com.apple.CoreGraphics pdf_reader_get_security_manager + 4
1 com.apple.CoreGraphics pdf_document_is_unlocked + 13
2 com.apple.CoreGraphics CGPDFDocumentGetPage + 36
3 com.apple.CorePDF -[CPReadingModel pdfBoundsForLine:] + 373
4 com.apple.PDFKit -[PDFDisplayView(PDFViewAccessibility) accessibilityVisibleCharacterRangeAttribute] + 380
5 com.apple.AppKit -[NSObject(NSAccessibilityInternal) _accessibilityValueForAttribute:clientError:] + 228
6 com.apple.AppKit CopyAppKitUIElementAttributeValueNoCatch + 53
7 com.apple.AppKit CopyAttributeValue + 359
My program has essentially no VoiceOver configuration, just
accepting default Cocoa values.
During the beta period I tested on 10.8.4, but stupidly failed to notice that
there were VoiceOver changes in PDFKit.
Suggestions?
Dick