[Okular-devel] [Bug 157559] okular crashes when loading pdf file and scrolling at the same time

Sebastian sebi.auer at web.de
Sat Feb 9 23:35:26 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=157559         




------- Additional Comments From sebi.auer web de  2008-02-09 23:35 -------
it's hard to say, as it happens quite fast...

maybe a little more background information could help:
I'm starting pdflatex in konsole and while latex is still compiling (this sometimes can take some time), I am scrolling in okular to the position, where I expect made my new changes. So, when pdflatex has done its job (and has updated the pdf file => reloading sequence in okular is starting) and I'm still "scrolling around", okular crashes.

I can't be sure, but I assume, okular first gets the signal "hey, someone updated your pdf file". Then it closes the file in order in order to reopen it. Reopening takes some time, so while okular is still busy, reopening the file, the progress bar signal of my scrolling action is causing some error, as it says "scroll up 5 lines, please" but there is nothing to scroll while loading. - But, as I said, it's just a guess!

I just tried the same thing with good old kpdf and there weren't any problems. It seems (another guess, only!) that kpdf doesn't actually close/remove the pdf file before reloading. It just keeps the old version open, until the new version is fully available and can be replaced for the old one without any delay.

Hoping, this helps you a bit. :)


More information about the Okular-devel mailing list