[Mortar] Open basic PDF file correctly on Android

NEW
Unassigned

Status

()

Firefox for Android
General
a year ago
7 months ago

People

(Reporter: yury, Unassigned)

Tracking

Trunk
ARM
Android
Points:
---

Firefox Tracking Flags

(firefox51 affected)

Details

(Whiteboard: [backlog])

(Reporter)

Description

a year ago
+++ This bug was initially created as a clone of Bug #1268829 +++

The bug is to correctly render the basic pdf file on Android.
http://www.orimi.com/pdf-test.pdf

That's another important user story requested by users. And we still have users that are installing/requesting desktop PDF.js extension on Firefox for Android. See bug 834358 and bug 938235.

I'm wondering if work made on jsplugins and bug 1268829 can be used to build a viewer plugin for Android.

Comment 1

a year ago
Thanks for filing this bug. A quick thought of questions should be answered if we are going to adopt current jsplugin/PPAPI architecture to Android.

1. Is PDFium and its wrapper code could be built for Android? (I feel this is a most important question)
2. Does Android allow applications launch multiple processes?

I'm also curious why we didn't make pdf.js on Fennec? Is there any engineering difficulties?
(Reporter)

Comment 2

a year ago
> I'm also curious why we didn't make pdf.js on Fennec? Is there any engineering difficulties?

The standard PDF.js desktop viewer requires more resources than needed for viewing on mobile devices and UI is not natural for the touch screens. The extension for desktop works on mobile Firefox without any change, but we never released or advertised it: there was different requirements for mobile apps, e.g. pinch zoom and less memory usage. (BTW, PDF.js is part of the Firefox OS)

Comment 3

a year ago
(In reply to Yury Delendik (:yury) from comment #2) 
> there was different requirements for mobile apps, e.g. pinch zoom and less memory usage. (BTW, PDF.js is part of the Firefox OS)

Yeah I know there are different requirements between desktop and mobile version, but given we have a version of PDF.js for FxOS, I thought we've resolve issues in terms of touch screen and memory usage.

I honestly have less confidence of migrating jsplugin/PPAPI architecture to Android because the whole implementation depends on an external code which might not be compatible with Android. :(  

Will review issues here when we complete a version for desktop. Thanks for the bug!

Updated

10 months ago
Group: mozilla-employee-confidential
Whiteboard: [backlog]

Comment 4

7 months ago
I think this is out of this project's scope. Remove dependency.
No longer blocks: 1264551
You need to log in before you can comment on or make changes to this bug.