Bug 207762 - forward dvi scrolls to wrong place
Summary: forward dvi scrolls to wrong place
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: DVI backend (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 10:03 UTC by Pascal Niklaus
Modified: 2010-01-21 01:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.