Bug 276908

Summary: Okular trims pages to their bounding box instead of displaying as A4
Product: [Applications] okular Reporter: Jannik Jochem <jannik>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 0.12.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The PDF for which page sizes are shown incorrectly.
A screenshot that shows the problem.
The same PDF document displays correctly in another PDF viewer.

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.