Description

Handling of PDFs, especially with Browsers with an installed Adobe Reader Plugin, is inconsistent.

Sometimes embedding works, sometimes not. Download links (without plugin) become links to embedded PDF (with plugin). ...

Steps to reproduce

Look at this with different browsers, with/without adobe reader plugin:

test.pdf (default)

Firefox 3.0.13 / Linux / no plugin

shows (after following link): Download link, below that: Text "Embedded application/pdf" (that is expected behaviour)

Firefox 3.5.2 / Windows7 / disabled AR9.1 plugin

shows (after following link): Download link, Text "Embedded application/pdf" (that is expected behaviour)

IE8 / Windows7 and WinXP / disabled AR9.1 plugin

shows (after following link): Download link, below that: "Embedded application/pdf" (that is expected behaviour)

Opera 10.00 / WinXP / disabled AR9.1.3 plugin

shows (after following link): Download link, below that: text "Embedded application/pdf"

Firefox 3.5.2 / Windows7 / AR9.1 plugin

shows (after following link): Download link, below that: embedded pdf (that is expected behaviour)

IE8 / Windows7 and WinXP / AR9.1 plugin

shows (after following link): Download link, below that: embedded pdf (that is expected behaviour)

opera 9.6.2 /Linux / plugin

shows (after following link): Download link, below that: a big white nothing (unexpected)

opera 9.6.2 / Windows7 / plugin

shows (after following link): Download link, below that: embedded pdf (that is expected behaviour)

Opera 10.00 / WinXP / AR9.1.3 plugin

shows (after following link): Download link, below that: embedded pdf

Safari 4.0.3 / OSX 10.6 / system default pdf plugin

shows (after following link): an embedded pdf, as expected

test.pdf with do=get

Firefox 3.0.13 / Linux / no plugin

shows (after following link): Browser download/open dialogue (that is expected behaviour)

Firefox 3.5.2 / Windows7 / disabled AR plugin

shows (after following link): Browser download/open dialogue (that is expected behaviour)

IE8 / Windows7 and WinXP / disabled AR9.1 plugin

same as IE8 with enabled AR9.1 plugin - WTF!?

Opera 10.00 / WinXP / disabled AR9.1.3 plugin

shows (after following link): white, empty page. No download dialog.

Firefox 3.5.2 / Windows7 / AR9.1 plugin

shows (after following link): Browser-embedded, full-size Adobe Reader showing the pdf (nice, but unexpected? One needs right-click->"save target as" to download)

IE8 / Windows7 and WinXP / AR9.1 plugin

shows (after following link): Browser-embedded, full-size Adobe Reader showing the pdf (nice, but unexpected? One needs right-click->"save target as" to download)

opera 9.6.2 /Linux / plugin

shows a white page

opera 9.6.2 / Windows7 / plugin

shows (after following link): Browser-embedded, full-size Adobe Reader showing the pdf (nice, but unexpected? One needs right-click->"save target as" to download)

Opera 10.00 / WinXP / AR9.1.3 plugin

shows (after following link): Browser-embedded, full-size AR plugin showing the pdf

Safari 4.0.3 / OSX 10.6 / system default pdf plugin

shows (after following link): pdf (covering entire window), as expected, (provides option to download pdf)

Transclusion of a pdf attachment

there should be something embedded in between this line ...

test.pdf (default)

... and this line!

Note: width and height needs to be given. Code is very generic and doesn't have any defaults for w and h.

Firefox 3.0.13 / Linux / no plugin

shows: "test.pdf (default)" (that is expected behaviour)

Firefox 3.5.2 / Windows7 / disabled AR9.1 plugin

shows: "test.pdf (default)" (that is expected behaviour)

IE8 / Windows7 and WinXP / disabled AR9.1 plugin

shows: "test.pdf (default)" (that is expected behaviour)

Opera 10.00 / WinXP / disabled AR9.1.3 plugin

shows: "test.pdf (default)"

Firefox 3.5.2 / Windows7 / AR9.1 plugin

shows embedded pdf full width, 600px height (that is expected behaviour)

IE8 / Windows7 and WinXP / AR9.1 plugin

shows embedded pdf full width, 600px height (that is expected behaviour)

opera 9.6.2 /Linux / plugin

??

opera 9.6.2 / Windows7 / plugin

shows embedded pdf full width, 600px height

Opera 10.00 / WinXP / AR9.1.3 plugin

shows embedded pdf full width, 600px height

Safari 4.0.3 / OSX 10.6 / system default pdf plugin

shows embedded pdf full width, 600px height

Component selection

Details

MoinMoin Version

1.8.4

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/PdfHandling (last edited 2009-09-04 17:55:57 by ThomasWaldmann)