Bug 276908 - Okular trims pages to their bounding box instead of displaying as A4
Summary: Okular trims pages to their bounding box instead of displaying as A4
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 18:11 UTC by Jannik Jochem
Modified: 2011-07-02 12:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The PDF for which page sizes are shown incorrectly. (74.59 KB, application/pdf)
2011-07-01 18:11 UTC, Jannik Jochem
Details
A screenshot that shows the problem. (76.71 KB, image/png)
2011-07-01 18:12 UTC, Jannik Jochem
Details
The same PDF document displays correctly in another PDF viewer. (110.06 KB, image/png)
2011-07-01 18:14 UTC, Jannik Jochem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jannik Jochem 2011-07-01 18:11:41 UTC
Created attachment 61538 [details]
The PDF for which page sizes are shown incorrectly.

Version:           0.12.2 (using KDE 4.6.3) 
OS:                Linux

I have attached an example PDF. When I view this PDF in Okular, the individual Pages of the Document have different sizes. The pages are roughly trimmed to the bounding box of their actual content. This is despite the fact that the page geometry is set to a4paper in the LaTeX source and never changed. Adobe Reader displays all pages in A4 format.

Reproducible: Always

Steps to Reproduce:
1. Open the attached file in Okular.

Actual Results:  
Displayed pages are trimmed.

Expected Results:  
All pages are displayed with the same size / aspect ratio.
Comment 1 Jannik Jochem 2011-07-01 18:12:28 UTC
Created attachment 61539 [details]
A screenshot that shows the problem.
Comment 2 Jannik Jochem 2011-07-01 18:14:52 UTC
Created attachment 61540 [details]
The same PDF document displays correctly in another PDF viewer.
Comment 3 Pino Toscano 2011-07-01 18:39:06 UTC
Do you have the "Edit -> Trim margins" option checked?
Comment 4 Jannik Jochem 2011-07-02 11:53:24 UTC
Yes, this was the problem. Thank you. Weird that this was enabled - I neither knew of the Option nor do I remember consciously enabling it. Must have flicked it by accident. Thank you.
Comment 5 Pino Toscano 2011-07-02 12:00:47 UTC
Not a bug then, closing.