PDF rendering a specific file is horribly broken. The file attached to this bug report. It looks like okular is cropping each page individually so that every page is different size. This problem just started recently (I think when I upgraded to KDE 4.11). I've compared how this file renders in Acrobat, mupdf, qpdfview and okular. Only okular renders the file incorrectly, so it is not a problem with the poppler backend (qpdfview also uses poppler to render PDF). Reproducible: Always Steps to Reproduce: 1. Open PDF If you zoom out so that view is not page width and scroll, you will notice that each page is different. Actual Results: See attached screenshot for okular rendering. Expected Results: See attached screenshot from qpdfview. Seems to be limited to this specific file. I've yet to find other examples. The PDF file in question is output from xelatex. Okular didn't have a problem with it before.
Created attachment 81824 [details] Okular incorrect page sizes
Created attachment 81825 [details] Incorrect rendering of a page
Created attachment 81826 [details] QPDFView rendering of page (correct rendering)
Created attachment 81827 [details] Sample PDF that exhibits the bug
Are you using the 'trim margins' feature?
Trim margins was enabled. I was not even aware that "Trim Margins" was a feature in Okular. I have no idea how it got enabled. I had gone through every setting I could find under the settings menu (I expected to see something under the General tab in Okular Settings).
This is weird, three things: * Can you confirm that without trim margins everything looks fine? * Are you a "new" user of okular or you've been using it for a long time? We did some settings splitting that may have caused this if you installed okular 4.10 before you installed kdelibs 4.10 * Can you create a new blank user and see if the option is enabled for you? (I just did it and is not, but let's confirm what happens for you)
If you can provide the information requested in comment #7, please add it.
Sorry for the long delay. * Without trim margins, it looks as expected. * I use okular pretty exclusively. No other pdf reader has the speed/features that okular has. * I just created a new user, it is off by default. Maybe I just hit the magic key accelerators that turn it on without me being aware (Alt+V > T). I still don't remember consciously enabling it though. Anyway, I'm glad it was a simple solution.
Thanks for your research :-)