Summary: | pre-loading doesn't work properly | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Armin Berres <armin> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Armin Berres
2007-12-08 13:44:25 UTC
SVN commit 755216 by pino: Change the page layouting procedure so: - pages not in the view (wth no Continuous mode active) are just "hidden", but they now have a valid size; this way, we can preload "hidden" pages even when in Continouos mode - merge the layouting methods (simplify a bit) CCBUG: 153675 M +35 -121 pageview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=755216 It seems that unlike KPDF, Okular holds in cache only the page before and the page page after the current page. With KPDF, if I have visited all the pages then all the pages remain in the cache, so that the contents of the pages is shown when I scroll fast through the document in continuous mode. But Ocular shows blank pages at first and I must wait a second before I can see the contents. I wish Okular also held visited pages in cache, like KPDF. I use KPDF 0.5.7 and Okular 0.6 on openSUSE 10.3 x86_64. I have the same options for both KPDF and Okular in the Performance panel: transparency effects and background generation are enabled and memory usage is set to aggressive. SVN commit 801781 by aacid: Correctly calculate the amount of memory to free, should fix bug 153675 BUGS: 153675 M +14 -7 document.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=801781 First: Good work. Second: The bug is not completely fixed yet. Caching of once rendered pages perfectly works now, but preloading of not rendered pages doesn't work yet. That's why I reopen the bug. It would be quite nice, if Okular would preload some of the next pages. Viewing PDF presentations (you often want to change the slides very fast) would get much more convenient :) Thanks for the work on Okular! Well, we preload next and previous pages if you are on normal or aggresive memory modes and if you are on aggresive memory mode we make sure they don't get kicked out of the page cache by our "memory freeing algorithm". If you want to increase the number of preloaded pages, please open a wishlist report. |