Closed Bug 782217 Opened 12 years ago Closed 12 years ago

Http request sent twice with evince or jsPDFviewer but not AcrobatReader

Categories

(Firefox :: PDF Viewer, defect)

14 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: lfournie, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
Build ID: 20120713134347

Steps to reproduce:

My application is an html page embedding a PDF rendering in some object tag.



Actual results:

If FF client has the javascript PDFViewer addon on Windows or mozpluger on Linux to use 'evince', then the GET request is sent twice.
If the windows client is configured with AcrobatReader plugin, it works well (the GET request is sent once)


Expected results:

The client shoud send the GET request once.
This is NOT related to 236858 bug. I played with encoding both in content-type and meta tag, and nothing change. Also, the same code works well with Acrobat.
I tested also on Nightly 17.0a1, same bug.

To reproduce the bug:
See http://pi.pelinquin.fr/u?bug with firebug and (evince or PDFviewer)
(wait 20 secondes de generate PDF, because it is a RaspberryPi server!)

Note that if Firefox is planing to embedd its own PDFviewer, this bug should be fixed.
Severity: normal → major
> If FF client has the javascript PDFViewer addon on Windows or mozpluger on Linux
> to use 'evince', then the GET request is sent twice.

Laurent,

The PDF Viewer is an component of the Firefox; and mozpluger and evince third-party utils. Does the issue concern only PDF Viewer, mozpluger with evince, or both of them? If both of them, please split this bug into two separate bugs since it will be hard to follow the resolution of these two unrelated issues in one place.

Thanks
First half of the bug (about pdf viewer) as a duplicate of https://github.com/mozilla/pdf.js/issues/1907
@Yury,

The same wrong (two GET requests) behavior is observed in the cases:
FF or Nightly 17.0a1 on (Windows or Linux) with js PDF viewer 0.3452 extension
FF or Nightly 17.0a1 on Linux with mozplugger 1.14.3 with (evince or okular) to render PDF
But things are working well both on Windows or Linux with Acroread plugin

So I suspect the same kind of bug both in jsPDFviewer and mozplugger.
Thanks for the Github issue link. I am not sure mozplugger problem report is very active!

Anyway, if at short term, it is planned to embed a PDF viewer in FF (without plugin), then it would be nice to render the PDF using only one request.
Meanwhile, I will ask users to use the (heavy, not Open-source) Acroread!
(In reply to Yury (:yury) from comment #2)
> First half of the bug (about pdf viewer) as a duplicate of
> https://github.com/mozilla/pdf.js/issues/1907

A bit offtopic, but still: what's the procedure for PDF viewer bugs filed in bugzilla? Seems these are actively worked upon in github, but a lot of user reports are filed here. We can't really duplicate them to github. So would just moving them to the bugzilla pdf viewer component suffice?
Component: Untriaged → PDF Viewer
Virgil, does that mean that PDF Viewer covers fixing of the "FF or Nightly 17.0a1 on Linux with mozplugger 1.14.3 with (evince or okular) to render PDF" issue?
Nope, that meaqns I'm asking what to do with related firefox pdf viewer bugs (excluding this case) logged in bugzilla. Search for related items both on github and bugzilla?
The pdf.js team is handling both bugzilla and github issues. Mostly bugzilla has issues related to the PDF Viewer integration (the github will not have those issues). If duplicates are found, the issues will be cross-referenced.

More generic discussion about github vs bugzilla can be found at https://groups.google.com/forum/?fromgroups=#!msg/mozilla.dev.planning/CTJAcljUgzQ/n45bkm9TCxcJ
Resolved by bug 784718:

> #1943 Implements loading PDF data by extension/chrome
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Depends on: 784718
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.