Trim margins + Two pages

Bug #1710913 reported by vicencb on 2017-08-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

there are some pdf files that when viewed with the options
Trim margins
Two pages
set, then some content falls offscreen.

For example, searching the Internet, I have found this small file that reproduces the issue:
Depending on the aspect ratio of the window, page 3 contents are not fully shown.


Adam Reichold (adamreichold) wrote :

Hello Vicenç,

thank you for taking the time to report this. I was unable to reproduce this using the linked file. Could you produce for example a screenshot so that I can get an idea of the view settings and aspect ratio under which this occurs? Thank you!

Best regards, Adam.

Changed in qpdfview:
status: New → Incomplete

Hello Adam,
just to be sure I have tested it in qpdfview 0.4.16 and 0.4.17beta1, together with poppler-qt5 0.57.0.
In all cases the issue is present.
In the attachments there is an screenshot without the trim option set (to show the full contents of page 3) and another one with (to show the contents of page 3 are cropped).
Also, I am building qpdfview from


Adam Reichold (adamreichold) wrote :

Hello again,

thank you for the screenshots. Could you also tell what settings were used in those? I.e. was it fit-to-page-width or fit-to-page or using a scale factor? Was it continuous layout or not? Ideally, the pixel dimensions of the window would be rather helpful to reproduce this.

Best regards, Adam.

Hi Adam,

Continuous is not set.
Two pages is set.
Two pages with cover page is not set.
Multiple pages is not set.
Right to left is not set.
Fit to page width is not set.
Fit to page size is set.
Trim margins is set.

I think this covers all the intersting options in the View menu.

The option "Fit to page size" is important and should have been on the bug report. With this option set, I expect to see all the contents of the pages.

What do you mean by "pixel dimensions of the window"?
The window size is the same as in the screenshots: 800x554 pixels.
The size of each pixel can be determined by the physical dimensions of the monitor and resolution: it is 24 inches and 1920x1080 square pixels (but I don't think this is relevant to the issue)


To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments