Bug 279775 - Okular doesnt jump properly to index for big pdf files
Summary: Okular doesnt jump properly to index for big pdf files
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.13
Platform: Chakra Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 00:59 UTC by Ben Gouhier
Modified: 2014-05-08 14:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
okularrc (1.45 KB, application/octet-stream)
2011-08-31 23:30 UTC, Ben Gouhier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Gouhier 2011-08-10 00:59:39 UTC
Version:           0.13 (using KDE 4.7.0) 
OS:                Linux

I have had this bug for a while but I never reported it, and I cant find any similar bug.

When opening big pdf files (> 100 pages), Okular is not able to jump to a page or a chapter (from 'contents' sidebar) properly, unless this page has been previously accessed.
For instance, 

Reproducible: Sometimes

Steps to Reproduce:
Open a new big pdf document that has never been opened before.
Go to a random page with either the content sidebar or directly by writing the page number at the bottom of the window.

have been encountering this bug on various systems (chakra, debian, arch, kubuntu) and versions of okular (back to the 4.5 version).

Actual Results:  
Okular scrolls down but stops before the page is reached. If you repeat immediately the action, okular reaches the page, butthe beginning of the page is displayed in the middle of the view window. If you repeat it once more, okular displays the correct page with the beginning of the view window (expected behaviour).

Expected Results:  
Okular should reach the page on the first time.

OS: Linux (x86_64) release 3.0-CHAKRA
Compiler: gcc
Comment 1 Albert Astals Cid 2011-08-10 08:01:59 UTC
Please attach a document that causes the problem for you and describe where you click, etc.
Comment 2 Ben Gouhier 2011-08-19 01:10:49 UTC
For instance, trying to jump to page 200 (wrting 200 in the box at the bottom of okular) scrolls but stop at page 165 for me. The second time i try its scrolls down to the middle of page 199 and the 3rd time works well.

http://downloadfiles.anritsu.com/Files/en-US/Manuals/Operation-Manual/10370-10348B.pdf
Comment 3 Ben Gouhier 2011-08-19 01:12:23 UTC
On the same document, if from page 200 i want to jump to page 100 with the same way, it scrolls up to page 39. second try goes to the middle of page 99 and 3rd time is ok.
Comment 4 Albert Astals Cid 2011-08-31 14:06:53 UTC
Works here, to see if the problem is caused by any of your configuration options please send me the okularrc file that describes those options.

To find the file please run
kde4-config --localprefix
in a shell and then go to that folder and send me (or attach here) the file at
kde4-config --localprefix + share/config/okularrc

You might want to clear the [Recent Files] section first
Comment 5 Ben Gouhier 2011-08-31 23:30:12 UTC
Created attachment 63277 [details]
okularrc
Comment 6 Ben Gouhier 2011-08-31 23:34:47 UTC
Some information that might help: when jumping to a random page as described before, it actually jumps correctly first, and immediately scrolls up again, stopping a few pages before the aimed position -- I'm not sure if I am clear :/...
Comment 7 Albert Astals Cid 2011-09-01 08:40:27 UTC
There's nothing different in your configuration than in mine, so that is not the issue. I am sorry to say that i am out of options now :-/
Comment 8 Fabio D'Urso 2014-05-08 14:03:15 UTC
It seems to work fine here, can you still reproduce this bug with Okular >= 0.19.0 ( KDE >= 4.13.0 )?
Thanks for caring about Okular :)
Comment 9 Ben Gouhier 2014-05-08 14:19:21 UTC
I just tested with Okular 0.19 and it works now.. =) I guess it can be closed !