google-code-export / firefox-mac-pdf

Automatically exported from code.google.com/p/firefox-mac-pdf
1 stars 0 forks source link

No inline pdf from gmail or hotmail #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. reciece an attached pdf in either Gmail og Hotmail
2. click on the link
3.

What is the expected output? What do you see instead?
Actual: Asking whether I want to download or use preview to see file
Expected: opening a new tab with the pdf in it

What version of the product are you using? On what operating system?
FF3.0, OS X 10.5.3, Quartz PDF plugin 0.9.5

Please provide any additional information below.
I believe the problem is somehow related to how the webpages send the pdf,
thus the bug exist in FF and not the plugin.

Original issue reported on code.google.com by drmaagen...@gmail.com on 21 Jun 2008 at 10:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Just updated to 0.9.8, but no diffence,
The mimetype should be correct, as FF says it's a "Portable Document Format"

Original comment by drmaagen...@gmail.com on 21 Jun 2008 at 10:20

GoogleCodeExporter commented 9 years ago
In safari it also downloads rather than displaying the in the safari pdf plugin.
So they are probably forcing the browser to download by setting the http header
'Content-Disposition: attachment' or similar, firefox is honoring this rather 
than
passing it to the plugin.

Original comment by chrisw...@gmail.com on 26 Jun 2008 at 12:41

GoogleCodeExporter commented 9 years ago
I am having the same issue with
http://www.springerprotocols.com/Abstract/doi/10.1007/978-1-59745-294-6_9

Original comment by saranti...@gmail.com on 30 Jun 2008 at 3:49

GoogleCodeExporter commented 9 years ago
I can confirm that sarantites site is setting the 'Content-Disposition: 
attachment'
header to force the pdf to download, so in this case it's a possible enhancement
rather than a bug. 

Original comment by chrisw...@gmail.com on 30 Jun 2008 at 11:09

GoogleCodeExporter commented 9 years ago
Also being forced to download from
http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0002554 -- 
same
issue? Would rather view attachments inline; could this be added as a 
preference choice?

Original comment by burfa...@gmail.com on 6 Jul 2008 at 7:41

GoogleCodeExporter commented 9 years ago
On my setup (10.5.4/FF3.0.1), in gmail, when clicking the link of a pdf 
attachement,
the Quartz PDF plugin 0.9.8 kicks in but do not display anything...

It should either respect the 'Content-Disposition: attachment' from gmail, and 
let
let firefox handle the pdf file as a download, or ignore the header and display 
it as
if it was online. so this is a bug/defect.

my opinion is that this 'Content-Disposition: attachment' header should not be 
there,
but that's a gmail issue, not a quartz-pdf issue.
if quartz-pdf would have an option to optionally correct that, I would happily 
use
it, but I wouldnt ask that much... and that no more a bug correction too..

Great work anyway (this was a much needed plugin for mac/firefox users)!

Original comment by mmarchand on 22 Aug 2008 at 6:18

GoogleCodeExporter commented 9 years ago
Firefox does not even load the plugin for files served with 
"Content-Disposition: attachment"  As far as I know, 
there is no way to work around this.

This seems to be the intended behavior, since Safari behaves the same way as 
Firefox.

Original comment by colesbury@gmail.com on 4 Oct 2008 at 10:57