Bug 185676

Summary: page gets blank while zooming in
Product: [Applications] okular Reporter: Maciej Pilichowski <bluedzins>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: arvidjaar, atalanttore, feathersanddown, mahen, Martin.vGagern
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: black.pdf
Show blank page when zoom in

Description Maciej Pilichowski 2009-02-27 08:53:45 UTC
Version:            (using KDE 4.2.0)
Installed from:    SuSE RPMs

Tested on cbr, djvu pdf files.

Open any file with a lot of non-white area. Zoom in. Zoom in. Zoom in. ... at some point the page is zoomed in (you can see it by the size of the scrollbars) but you will see only white sheet, nothing else.
Comment 1 Pino Toscano 2009-02-27 10:53:16 UTC
Screenshot and sample document, please.
Comment 2 Maciej Pilichowski 2009-02-27 11:52:02 UTC
Screenshot in this case is not necessary ;-) million white pixels, and that's it.

Pdf file follows, but please not it happens for any file I know, this one is just as clear case, because it is all black. Open it and keep zooming, at some point you will get the white page, despite it is all black.
Comment 3 Maciej Pilichowski 2009-02-27 11:53:10 UTC
Created attachment 31675 [details]
black.pdf
Comment 4 Maciej Pilichowski 2009-02-27 11:57:02 UTC
If you make the okular window as small as possible from fit-to-page it takes (at least for me) 20 zoom-ins to get white page instead of black.
Comment 5 Pino Toscano 2009-02-27 12:05:01 UTC
Execute kdebugdialog, find the okular debug area 4700 and activate it.
Then open the document with okular from command line, and see the output.
Do you get a couple of lines saying that has run out of memory?
Comment 6 Maciej Pilichowski 2009-02-27 20:27:14 UTC
Yes, when the transition from black to white happens there is new line of output:
okular(8174)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: Running out of memory on page 0 (4767x4767 px);

At the same time (I mean just after this message appeared) I switch to another tab of Konsole and run "free".
free -m
             total       used       free     shared    buffers     cached
Mem:          3910       3435        475          0         70       2394
-/+ buffers/cache:        970       2940
Swap:            0          0          0
Comment 7 Mahendra Tallur 2010-03-14 21:35:10 UTC
I happen to encounter the same (or similar) issue with this complex PDF map. Zoom in a lot, and the screen gets blank (default settings, except "agressive" behaviour, KDE 4.4.1, Archlinux).

You can find it here : http://www.loire-atlantique.fr/cg44/jcms/c_101629/lila

For instance, try to zoom in into the mini map at the bottom of the screen. (required to make it readable)
Comment 8 Feathers And Down 2011-07-12 15:52:44 UTC
Created attachment 61814 [details]
Show blank page when zoom in
Comment 9 Feathers And Down 2011-07-12 15:53:59 UTC
What about this issue ?? something new?? I'm still getting blank page while zooming my city transport map. I get this from console when doing zoom-in

okular(7387)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: Running out of memory on page 0 (4535x5896 px);
okular(7387)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: this message will be reported only once.

pdf here: http://www.transantiagoinforma.cl/planos.do
link: (Mapas de Recorridos del Gran Santiago)

(screenshot in previous message)
Comment 10 Myriam Schweingruber 2011-12-27 17:02:17 UTC

*** This bug has been marked as a duplicate of bug 173681 ***
Comment 11 Albert Astals Cid 2012-01-05 10:43:52 UTC
*** Bug 218406 has been marked as a duplicate of this bug. ***
Comment 12 Albert Astals Cid 2012-01-05 10:44:58 UTC
*** Bug 276511 has been marked as a duplicate of this bug. ***