[Okular-devel] [Bug 205301] New: add configurable aggressive prerendering

Maciej Pilichowski bluedzins at wp.pl
Thu Aug 27 09:11:27 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=205301

           Summary: add configurable aggressive prerendering
           Product: okular
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: bluedzins at wp.pl


Version:            (using KDE 4.3.0)
Installed from:    SuSE RPMs

New/old report as Albert asked:
https://bugs.kde.org/show_bug.cgi?id=106230#c18

Such option would be a good idea for people with good CPU and free memory while
reading documents. Current aggressive mode is not enough -- for example I can
load 23-pages document, I still have 1.5GB free RAM and I cannot change page
smoothly because kpdf renders it while I move.

I did a test -- 400 pages pdf file, current page 310, I get back to 300. From
that point when I went to 301 the jump was immediate, but when I get back to
300 and then (after 5 minutes to be sure) to 299 I had to wait. So okular does
not prerenders "surrounding" pages even in agressive mode.

My suggestion -- with such option switched on kpdf should use RAM to its
maximum. Prerender pages backward and forward to given limit /*/ at the given
zoom. If user move for example forward, prerender for one backward page, 2 /*/
forward. If user change zoom, start prerendering pages again but keeping the
previous renderings /*; just for case if user set the previous zoom/.
So, after few seconds I could basically view static screens without images
loading, text blur, etc.

/*/ -- just an example, I think all these should be configurable.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list