Version: 3.4.0 (using KDE 3.4.0 Level "a" , unofficial build of SUSE ) Compiler: gcc version 3.3.3 (SuSE Linux) OS: Linux (i686) release 2.6.5-7.151-default I like to have pdf files open in a separate viewer (acroread or kpdf) rather than embedded into the browser. However, under certain conditions, this is not possible, as konqueror will ignore the settings for embedding. It seems to me that the situation that causes this effect is when a webpage contains a pdf file in a frame. Unfortunately, many scientific online journals use this option, so I encounter it all the time. An example is here: http://www.pnas.org/cgi/reprint/102/12/4225 Even if the default viewer is set to acroread, and embedding is turned off, the pdf will be shown in the frame with kghostview. This bug may be related to Bug 57426.
OK, the example page you gave uses <a target="_self" href="/cgi/reprint/102/12/4225.pdf"> from a frame. The frame offers "embed this URL or save it" but not "open [with preferred viewer]" indeed. Note to self: Hmm. Tricky. The embedding setting is in konqueror, and frames are handled in khtml. This would require some setting for KHTMLPart::processObjectRequest to call KParts::BrowserRun::askSave instead of askEmbedOrSave... PS: 57426 is unrelated, that one is about a form submission. Oh, and you should try making KPDF the preferred viewer, it rocks :) And then it's acceptable when embedded, which is another solution to this problem :)
I can confirm this bug too, kde 3.4 I created this testcase: http://masterplan.student.utwente.nl/~termo/konqueror_frame_test.html It also seems that this bug has a history. See bug 43999. Hope this'll get fixed soon :) (At least it'll have a few of my votes ;) Cheers, Ferdi
This bug still remains in KDE 3.5.1 Workaround: Set the "Ask whether to save to disk instead" option.
confirmed in 4.0.3.. tricky
KDE4 update: the "embed" user settings are now in the file filetypesrc, so khtml could use that to decide whether to embed or not.