Closed Bug 1725551 Opened 3 years ago Closed 3 years ago

PDF file located on file:/// link is not opened as defined in settings

Categories

(Firefox :: PDF Viewer, defect)

Firefox 91
defect

Tracking

()

RESOLVED DUPLICATE of bug 1726501

People

(Reporter: bjoern.schormann, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Click on a link referencing to a PDF on a file system (file:///d:/myLocalFolder/myPDF.pdf) rather than a one WebServer (http://www.foobar.com/myPDF.pdf)

Actual results:

Ignores settings for PDF file type in preferences and always uses FF internal viewer since FF 91. Worked fine before.

Expected results:

Open PDF in the same application, as it does with PDFs from "normal" http:// links as defined in preferences (use external PDF viewer)

The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → PDF Viewer

Hi bjoern.schormann,

Thanks for your report. If you reach about:Preferences , in the Applications panel have you set for the PDF to always open the files with the Acrobat Reader or ff?

Is this issue similar to what you're experiencing?
https://bugzilla.mozilla.org/show_bug.cgi?id=1673855
Best,
Clara

Flags: needinfo?(bjoern.schormann)

May be a duplicate of bug 1726501 ("Internal PDF Reader is always used when called from a local HTML file"). Per comment 3, "This was a deliberate decision in bug 1680147".

(In reply to Clara Guerrero from comment #2)

Hi bjoern.schormann,

Thanks for your report. If you reach about:Preferences , in the Applications panel have you set for the PDF to always open the files with the Acrobat Reader or ff?

Is this issue similar to what you're experiencing?
https://bugzilla.mozilla.org/show_bug.cgi?id=1673855
Best,
Clara

Hi Clara,

yes in Settings/Applications I have set FF to always use my PDF viewer of choice (in this case SumatraPDF). It works fine with web-links but not with local HTML links coming from a file server rather than a web server.

Best regards
Bjoern

Flags: needinfo?(bjoern.schormann)

(In reply to jscher2000 from comment #3)

May be a duplicate of bug 1726501 ("Internal PDF Reader is always used when called from a local HTML file"). Per comment 3, "This was a deliberate decision in bug 1680147".

Hi,

yes it seems exactly like bug 1680147. We also do have a local HTML file as a link-page where we reference PDF files from our local file server and also use links to the same file hosted on our public web server. The latter work fine (and FF does respect it's settings) whilst local file links always incorrectly open with the built-in FF PDF viewer.

Best regards
Bjoern

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE

Correcting the dupe here - we're fixing this in Firefox 93 so it should work correctly there. You can test with a build from https://nightly.mozilla.org/ (which will use a different Firefox profile by default and will therefore not start off with the same PDF settings, you'd have to set them once and then check things work!) .

In regular Firefox, before version 93, you can work around by setting pdfjs.disabled to true in about:config.

You need to log in before you can comment on or make changes to this bug.