Bug 184196 - preloading whole document (or at least 10-20 pages) in aggressive mode
Summary: preloading whole document (or at least 10-20 pages) in aggressive mode
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.8
Platform: Ubuntu Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
Depends on:
Reported: 2009-02-13 02:15 UTC by h.i.m
Modified: 2019-10-05 11:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0


Note You need to log in before you can comment on or make changes to this bug.
Description h.i.m 2009-02-13 02:15:08 UTC
Version:           0.8 (using KDE 4.2.0)
Installed from:    Ubuntu Packages

In university, i have to learn and work with presentation-slides, which are converted to *.pdf files. 

When i have to search something, which is not text, but e.g. a picture of a Ribozyme or diagram, i have to go through all slides of a document to look it up.

Therefore i need preloaded slides. (and not just the very next one)
I want to go fluently and fast through all slides and not be forced to wait 2 seconds while every slide has to be loaded first.
My PC and Notebook store 4Gb Ram, a Quad (PC) and Dual Core CPU (NB), which are doing nothing until i zap through the slides(!)

I would recommend to make an extra check-box available (in aggressive mode), which allows Okular to preload the whole (or at least 20-30 slides of the) document. (maybe you can build in something like check if there is a minimum of 512MB of Ram left over)

This would make my work a lot of easier and faster ;)

Thanks in advance
Comment 1 Albert Astals Cid 2012-03-08 23:14:18 UTC
Git commit 4d8ba36488f84175b71af36bc2c487290ec753a7 by Albert Astals Cid.
Committed on 09/03/2012 at 00:12.
Pushed by aacid into branch 'master'.

Add greedy preloading option

Based on a patch by Sebastian Rose <s.rose@semkath.de>
REVIEW: 103129

M  +3    -1    conf/dlgperformance.cpp
M  +93   -90   conf/dlgperformancebase.ui
M  +1    -0    conf/okular.kcfg
M  +10   -0    core/document.cpp
M  +7    -1    ui/pageview.cpp
M  +15   -1    ui/presentationwidget.cpp