Bug 207762

Summary: forward dvi scrolls to wrong place
Product: [Applications] okular Reporter: Pascal Niklaus <pascal+kde>
Component: DVI backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pascal Niklaus 2009-09-18 10:03:42 UTC
Version:           0.9.1 (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

I am using okular with kile and forward DVI. The behaviour of Okular deviates from the one of the good old kdvi, and is flawed, in my opinion:

1) The paragraph under the cursor is not necessarily visible after okular was called from kile. What I believe is happening is that Okular scrolls the document so that the beginning of the page (actually the page transition) is visible in the center of the window. This is not a sensible behaviour, since the part of the text that one wants to see may be further below. It should scroll so that the paragraph/line under question is visible.

2) Okular "rescrolls" the document on every call. kdvi was better in the sense that it left the scroll position unchanged when the line to display was visible. This allowed to work "interactively", changing the document in kile and seeing the changes in kdvi without the text "jumping all over the place". 

For the moment, forward dvi is not of big use since one has to search for the right part of the text all the time.

I think this bug is crucial since kdvi has been sacrified in the current KDE version.

Thanks for fixing this.
Comment 1 Albert Astals Cid 2010-01-21 01:05:41 UTC
KDE 4.4 has several fixes in this regard, please test it.