Closed Bug 1406689 Opened 8 years ago Closed 7 years ago

PDFs should just go to ibooks unmodified

Categories

(Firefox for iOS :: Browser, enhancement, P1)

Other
iOS
enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 12.0 ---

People

(Reporter: osunick, Assigned: justindarc)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In safari I can pass a PDF to iBooks unmodified whereas in Firefox it seems to print the PDF to another PDF which breaks formatting. Can we just do what Safari does?
Priority: -- → P2
Priority: P2 → P3
If the 'Open In...' bar is tapped, the PDF is saved to the filesystem and UIDocumentInteractionController is used to share the file to iBooks unmodified. If the 'Open PDF in iBooks' share/action sheet action is used, the current document gets printed to PDF and opened. This uses UIPrintInfo/UIPrintPageRenderer as an activityItem passed to the UIActivityViewController init. Without exposing an activity item that has print capabilities, share to iBooks doesn't show. In this case, iBooks sharing is side-effect of being able to print the document. I see mention of developers making their own wrapper extension that can handle this case, which is a heavy approach. Chrome iOS follows the first method only (a similar helper toolbar is shown), and doesn't allow opening PDFs in iBooks using share/action menu.
Assignee: nobody → kesun.421
Priority: P3 → P2
Assignee: kesun.421 → nobody
Priority: P2 → P3
Priority: P3 → P2
Blocks: ios-files
Assignee: nobody → jdarcangelo
Status: NEW → ASSIGNED
Priority: P2 → P1
Attached file GitHub Pull Request
Attachment #8975167 - Flags: review?(fpatel)
Comment on attachment 8975167 [details] [review] GitHub Pull Request Carrying over R+ from GitHub.
Attachment #8975167 - Flags: review?(fpatel) → review+
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: