[Okular-devel] [Bug 205084] dvi source references don't work properly when --unique is used (not a backend problem)

Jochen Trumpf Jochen.Trumpf at anu.edu.au
Fri Aug 28 05:24:03 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=205084





--- Comment #3 from Jochen Trumpf <Jochen Trumpf anu edu au>  2009-08-28 05:24:01 ---
Okay, I might have found the problem. In PageView::slotRelayoutPages(), part 4)
[line 3003ff in ui/pageview.cpp in trunk)] is only executed
if ( fullWidth != contentAreaWidth() || fullHeight != contentAreaHeight() )
Commenting out this condition makes forward search work. It seems as though
part 4) is also needed when the size has not changed at all, but the document
has been reloaded. Not sure about the correct condition to use, though. Any
suggestion, Pino?

Now that this part works for me, I am encountering yet another problem. The
pageview correctly changes to the requested viewport, but the coordinates that
are being requested seem wrong (the normalizedY coordinate is typically very
close to zero and negative!). I'll investigate this further and open another
bug report once I know where this is coming from (should be something in the
source anchor code).

Cheers, Jochen

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list