[Okular-devel] [Bug 209632] New: Instant previews by fast-scaling previous rendering

Benoît Jacob jacob.benoit.1 at gmail.com
Tue Oct 6 14:31:17 CEST 2009


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

           Summary: Instant previews by fast-scaling previous rendering
           Product: okular
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: jacob.benoit.1 at gmail.com


Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Note: this wish includes a proposal to scratch-my-own-itch if you'll just tell
me where to start.

A useful "cheat" to give the user a great speed impression, is that as soon
as he has changed the zoom level, you display an instant preview by just
fast-scaling the existing image (the currently displayed page). This doesn't
take
any significant time and has a surprising effect on the user experience. The
user is willing to forgive the poor quality of the preview because he
knows it's temporary and he doesn't have time to look at it carefully anyway.
That is also useful as it allows to know right away where the text will appear
(useful at high zoom level).

I implemented that in the Mandelbrot wallpaper plugin, as you can check. The
code (very generic actually) is there:

http://websvn.kde.org/trunk/KDE/kdeplasma-addons/wallpapers/mandelbrot/mandelbrot.cpp?view=markup

See the zoomView() method.

If you want, and if you can show me where and how I plug that into Okular, I
volunteer to implement that.

-- 
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