Version: 0.5.1 (using KDE 3.5.1, Kubuntu Package 4:3.5.1-0ubuntu0breezy1 ) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.12-10-686 I generated a PDF file with PDF latex using the url and hyperref packages. If a http link to a PDF file is klicked in KPDF a konqueror window opens and displays the ASCII view of the PDF file. A reload is required to see the actual PDF rendering
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;