Summary: | http link in PDF file to another PDF file opens the PDF file as ASCII in Konqueror (a reload is required to load the PDF view) | ||
---|---|---|---|
Product: | [Unmaintained] kpdf | Reporter: | Christoph <kdebugs.20.chth> |
Component: | general | Assignee: | Albert Astals Cid <aacid> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Christoph
2006-02-28 18:18:39 UTC
Is the linked file local or in a web server? It's on a web server i would say it is probably a local problem or web server misconfiguration, it has worked here for ages. Are that pdf files you mention freely available so i can test? To reproduce the bug open the following file in KPDF: http://www.whitehouse.gov/OMB/circulars/a004/a-4.pdf From within KPDF click on the second link (this is the link to: http://www.whitehouse.gov/omb/memoranda/m00-08.pdf ) What happens for me is, that the ASCII from this PDF file is shown in Konqueror and a reload is required to show the actual PDF. This has happened for me consistently for PDF files on different servers. Furthermore, this does not happen, when I open the PDF in XPDF, so it must be a KPDF bug. SVN commit 560199 by aacid: Do not be "too" intelligent and assume a Browse link means html. See how having an example of things not working makes it much easier to fix. BUGS: 122845 M +2 -6 document.cpp --- branches/KDE/3.5/kdegraphics/kpdf/core/document.cpp #560198:560199 @@ -1059,12 +1059,8 @@ return; } - // get service for web browsing - KService::Ptr ptr = KServiceTypeProfile::preferredService("text/html", "Application"); - KURL::List lst; - // append 'url' parameter to the service and run it - lst.append( url ); - KRun::run( *ptr, lst ); + // Albert: this is not a leak! + KRun *r = new KRun(url); } } break; |