Re: Voice Over and PDFKit in 10.8.4
Re: Voice Over and PDFKit in 10.8.4
- Subject: Re: Voice Over and PDFKit in 10.8.4
- From: Eric Schlegel <email@hidden>
- Date: Wed, 12 Jun 2013 08:49:42 -0700
Hi Richard,
Please file a bug about this, with steps to reproduce; there were significant changes in Accessibility support in PDFKit in 10.8.4 and this may be a regression.
-eric
On Jun 6, 2013, at 9:11 AM, Richard Koch <email@hidden> wrote:
> 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
_______________________________________________
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