Bug 219488 - Pages from DVI files seem to get cropped
Summary: Pages from DVI files seem to get cropped
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: DVI backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-20 23:42 UTC by Michael Meier
Modified: 2009-12-21 01:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot visualising the bug (173.37 KB, image/png)
2009-12-20 23:43 UTC, Michael Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Meier 2009-12-20 23:42:24 UTC
Version:           4.4 beta2 (using Devel)
Compiler:          gcc 4.4.1 
OS:                Linux
Installed from:    Compiled sources

Recent versions of okular exhibit the following bug: if "fit width" mode is off when rendering DVI files, the pages seem to get cropped. Hard to explain, but the screenshot explains it.

The effect can be even stronger than in the attached screenshot with some pages rendered at 50% or less of the width than the previous page, giving a very odd-looking result. 

It might have something to do with the width of the actual text on each page. As you can see on the screenshot, the actual width of the page rendered on the right size is proportional to the width of the yellow box for each thumbnail.

I am using Gentoo with KDE compiled from SVN, most recent version is from today (close to 4.4 beta2). Qt version is 4.6.0.

Does not occur after converting the document to PDF.

The DVI file used for the screenshot has been taken from http://ctan.binkerton.com/ctan.php?filename=language/german/gerdoc.dvi but the bug also occurs with my own DVI files.
Comment 1 Michael Meier 2009-12-20 23:43:05 UTC
Created attachment 39200 [details]
Screenshot visualising the bug
Comment 2 Albert Astals Cid 2009-12-21 01:15:17 UTC
Works for me, can anyone else reproduce?
Comment 3 Luigi Toscano 2009-12-21 01:25:13 UTC
I can see the same effect if I enable "View" -> "Trim Margins". Can you please check the status of that option?
Comment 4 Michael Meier 2009-12-21 01:41:30 UTC
Thanks, so it's not a bug but a feature! Disabling "trim margins" does the trick.