Bug 184196

Summary: preloading whole document (or at least 10-20 pages) in aggressive mode
Product: [Applications] okular Reporter: h.i.m <hir.i.mogul>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: aacid
Priority: NOR    
Version: 0.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
See Also: https://bugs.kde.org/show_bug.cgi?id=185906
Latest Commit: Version Fixed In: 4.9.0

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
h.i.m
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

http://commits.kde.org/okular/4d8ba36488f84175b71af36bc2c487290ec753a7