TidBITS: PDFKit Improves Somewhat in High Sierra

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

TidBITS: PDFKit Improves Somewhat in High Sierra

TidBITS Articles
PDFKit Improves Somewhat in High Sierra

This article was just published by TidBITS and sent to you at your request.

PDFKit Improves Somewhat in High Sierra

By Adam C. Engst

Last year, when macOS 10.12 Sierra shipped, one of the main pain points revolved around PDF handling. That occurred because Apple chose to rewrite the PDFKit framework, presumably for better compatibility with iOS, but in the process both removed features and introduced numerous bugs (see “Sierra PDF Problems Get Worse in 10.12.2,” 2 January 2017, and “PDF Problems Continue in 10.12.4, but Primarily Affect Developers,” 3 April 2017).

So what’s the PDFKit situation in 10.13 High Sierra? I polled my PDF-savvy developer friends, and the response was mixed.

On the plus side, Jon Ashwell of Sonny Software, who writes the Bookends bibliography app, noted that Apple had fixed two crashing bugs he had encountered, one on opening certain PDFs and another when rendering. EagleFiler developer Michael Tsai of C-Command Software said that he had noticed that Apple had eliminated a crashing bug related to contextual menus, along with a horizontal scrolling bug. And Christian Grunenberg of DEVONtechnologies, makers of DEVONthink, pointed out that some minor rendering glitches had also been fixed and concluded, “Overall, it’s a step forward for Sierra users.”

That’s not to say that everything is Riesling and roses, though. Both Jon Ashwell and Christian Grunenberg said that creating a highlight annotation now obscures the underlying text, and Grunenberg is trying to work around the problem in the next update to DEVONthink.

Grunenberg also pointed out that PDFKit used to provide a sidebar for viewing all the note annotations in a PDF, but that was removed in Sierra and hasn’t yet made a comeback in High Sierra.

Craig Landrum of Mindwrap, developer of the scan-to-PDF app Optix, discovered that panning a PDF no longer works properly in High Sierra. Previously, in Landrum’s app, you could zoom in on a page and then use a hand tool to pan around. Now, clicking in a zoomed page ignores the click-down point and immediately jumps to the top of the page.

Somewhat annoyingly, Apple has worked around many of these bugs in Preview rather than fixing them in the underlying PDFKit framework. That’s good for users, of course, because it means that Preview should work correctly. But it forces independent developers to implement their own workarounds, disable features, or put up with user complaints while hoping that Apple fixes the bugs.

Preview does have a few problems. Although I wasn’t able to reproduce these problems, some users have reported issues with note annotations being transparent. Plus, clicking items in a PDF’s sidebar table of contents suffers from two problems. First, after you click the ToC entry, an entry higher up usually ends up selected. And second, Preview scrolls to center the selected heading vertically in the window, rather than near the top. The latter behavior may be intentional, but it forces users to scroll sooner to see more text than they would have in the past.

My take is that those who rely on PDF support in independent apps are probably better off upgrading to High Sierra than remaining on Sierra, since Apple has fixed some bugs. If you have instead stuck with 10.11 El Capitan, you may wish to delay upgrading to High Sierra until you can verify that the apps you rely on for PDF-related features are fully functional in High Sierra.

Post a comment

TidBITS members can unsubscribe from just-published articles at http://tidbits.com/subscriptions. TidBITS Talk readers will need to create a filter to delete these articles.

Article copyright © 2017 By Adam C. Engst . Reuse governed by Creative Commons License.

____________TidBITS Talk Participation Guidelines____________
Post only when you have something substantive to contribute.
Be polite and constructive, and comment on posts, not people.
Quote sparingly, if at all. We all read the previous message.
Start threads with a new message to [hidden email].
Read archives at: http://tidbits.com/pipermail/tidbits-talk/
Unsubscribe at: http://tidbits.com/mailman/options/tidbits-talk
____Mailing List Manners: http://tidbits.com/series/1141 ____