• 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
Voice Over and PDFKit in 10.8.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Voice Over and PDFKit in 10.8.4


  • Subject: Voice Over and PDFKit in 10.8.4
  • From: Richard Koch <email@hidden>
  • Date: Thu, 06 Jun 2013 09:11:47 -0700

Short: VoiceOver in a window with a PDFKit view causes a crash in
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



 _______________________________________________
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: Voice Over and PDFKit in 10.8.4
      • From: Eric Schlegel <email@hidden>
  • Prev by Date: Re: UIAccessibilityLayoutChangedNotification and passing non-nil
  • Next by Date: text attachments in NSTextView and NSAccessibility/VoiceOver
  • Previous by thread: Re: UIAccessibilityLayoutChangedNotification and passing non-nil
  • Next by thread: Re: Voice Over and PDFKit in 10.8.4
  • Index(es):
    • Date
    • Thread