Version: 0.5.7 (using KDE KDE 3.5.7) Installed from: Unlisted Binary Package OS: Linux Since the upgrade to KDE 3.5.7 (Archlinux) KPdf prints boxes around links (hyperrefs). As they aren't visible otherwise I suppose a flag has been inverted... They probably should show up on Screen, but not during print.
Can not reproduce, can you attach a pdf with which you are having this problem?
Created attachment 20687 [details] small pdf showing the problem. in normal mode the footnote does not have any rectangle. in print mode it has.
Created attachment 20688 [details] screenshot showing the rectangles this screenshot shows the bug: the top view is the normal view. There is no rectangle. The bottom is the print-preview. There is a red rectangle. (which is then printed).
SVN commit 668258 by aacid: changing APIs means you should TRIPLE check, double checking is not enough :-/ BUGS: 145907 M +3 -3 generator_pdf.cpp --- branches/KDE/3.5/kdegraphics/kpdf/core/generator_pdf/generator_pdf.cpp #668257:668258 @@ -316,7 +316,7 @@ // 1. Set OutputDev parameters and Generate contents // note: thread safety is set on 'false' for the GUI (this) thread kpdfOutputDev->setParams( request->width, request->height, genObjectRects, genObjectRects, false ); - pdfdoc->displayPage( kpdfOutputDev, page->number() + 1, fakeDpiX, fakeDpiY, 0, false, true, genObjectRects ); + pdfdoc->displayPage( kpdfOutputDev, page->number() + 1, fakeDpiX, fakeDpiY, 0, false, true, false ); if ( genObjectRects ) pdfdoc->processLinks( kpdfOutputDev, page->number() + 1 ); @@ -498,7 +498,7 @@ docLock.lock(); for ( ; pIt != pEnd; ++pIt ) { - pdfdoc->displayPage(psOut, *pIt, 72, 72, 0, false, globalParams->getPSCrop(), gFalse); + pdfdoc->displayPage(psOut, *pIt, 72, 72, 0, false, globalParams->getPSCrop(), gTrue); } docLock.unlock(); @@ -1197,7 +1197,7 @@ d->generator->kpdfOutputDev->setParams( width, height, genObjectRects, genObjectRects, TRUE /*thread safety*/ ); d->generator->pdfdoc->displayPage( d->generator->kpdfOutputDev, page->number() + 1, - fakeDpiX, fakeDpiY, 0, false, true, genObjectRects ); + fakeDpiX, fakeDpiY, 0, false, true, false ); if ( genObjectRects ) d->generator->pdfdoc->processLinks( d->generator->kpdfOutputDev, page->number() + 1 );
I don't think this bug has been fixed. With KPDF 0.5.8 I still have the problem.
I just tested on some examples, and for me the problem is gone. Does the bug happen with the attached pdf? If not, please upload a sample pdf. If yes, do you see the borders in the print-preview too?
I still have the problem here. My version of kpdf is 0.5.8 provided by Kubuntu (package version 4:3.5.8-0ubuntu1). Could it be still present in Kubuntu because Kubuntu uses a different kpdf from the official one (something to do with poppler) ?
If you are seeing a red square it is working.