[Layout][UX] PDF file with portrait pages has the bottom of its pages cut off when printing in landscape mode
Categories
(Core :: Print Preview, defect, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
firefox58 | --- | wontfix |
firefox59 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | wontfix |
firefox68 | --- | wontfix |
firefox69 | --- | fix-optional |
firefox74 | --- | affected |
firefox75 | --- | affected |
firefox76 | --- | affected |
firefox77 | --- | affected |
firefox83 | --- | affected |
firefox84 | --- | affected |
People
(Reporter: cbadau, Unassigned)
Details
Attachments
(1 file)
262.18 KB,
image/png
|
Details |
[Affected versions]: - latest Nightly 59.0a1 (2018-01-12) - Firefox 58 Beta 16 - Firefox 54.0.1 - Firefox 56 Beta 3 [Affected platforms]: - Windows 10 x64 - Windows 8.1 x64 - macOS 10.12 - Ubuntu 14.04 x64 [Steps to reproduce]: 1. Open a pdf page (e.g: http://www.dbsparks.com/research/html/SNRN02.pdf , http://www23.statcan.gc.ca/imdb-bmdi/pub/instrument/3901_Q2_V3-eng.pdf). 2. Select "Print Preview"(on Windows)/"Open PDF in Preview" (on Mac). 3. Choose "Landscape". [Expected result]: - The page is correctly displayed in Print Preview while in Landscape. [Actual result]: - The page is cut off in Print Preview while in Landscape. Please see attachment "issue.png". [Regression range]: - Since the issue is reproducible on Firefox 54.0.1 is not a recent regression. I will come back ASAP with the regression range.
Updated•6 years ago
|
![]() |
||
Comment 1•6 years ago
|
||
So you're trying to print portrait pages to landscape paper. That seems like a weird use case but other browsers do handle it better than we do. This is somewhat expected given your settings (the default admittedly) as shown in your screenshot. The Scale field is set to "Shrink to Fit", which means fit the width of the content to be printed to the width of the print page (see bug 188365 for renaming this "Shrink to fit page width"). For portrait PDF pages that setting scales their width up to fit the width of the landscape paper...and naturally we then truncate the bottom of the PDF pages. The user can "fix" this somewhat by trying out different values in the Scale field until the page fits better. That's annoying though, both because it requires manual tweaking, and because in the end it still doesn't look great since the PDF page is positioned at the top-left of the sheet.
![]() |
||
Comment 2•6 years ago
|
||
We could make things a lot better by doing two things: - Having two scaling settings: "Fit to page width" and "Fit to page height", and select a sensible default based on the orientation of the PDF pages that are being printed. - Having the PDF pages centered in the print pages when they have to be scaled to fit. This requires both UI and layout work.
Comment 3•5 years ago
|
||
The issue is present on Nightly 66.0a1 (20190107214730) also, reproduced with the above steps on Win8 x32.
Comment 4•5 years ago
|
||
This issue is reproducible on Ubuntu 16.04 as well.
Version 66.0a1
Build ID 20190109163702
User Agent Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Comment 5•4 years ago
|
||
Build ID 20190701095406
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0
This issue is reproducible on macOS 10.14.5 using the Release, Beta and the latest Firefox Nightly 69.0a1.
Updated•4 years ago
|
Comment 6•4 years ago
|
||
I've seen this behavior on Windows 10 for Firefox version 74.0a1 (2020-01-13) (64-bit).
Comment 7•4 years ago
|
||
Hi,
I was able to reproduce this issue on Mac OS 10.14 for Firefox version Nightly 75.0a1 (2020-02-18). Marking that flag as affected.
Comment 8•4 years ago
|
||
Hi,
I was able to reproduce this issue on Ubuntu 18 with Firefox version 77.0a1 (2020-04-15) (64-bit). Marking that flag as affected.
Comment 9•4 years ago
|
||
Change the status for beta to have the same as nightly and release.
For more information, please visit auto_nag documentation.
Comment 10•3 years ago
|
||
We're also seing this using latest 84.0a1 and Fx 83.0b5, across platforms, with the new UI.
It reproduces for physical print too, not only in Preview.
Reproduced on https://www.massageaddict.ca/images/MassageAddictHealthHistoryForm.pdf too.
Updated•1 year ago
|
Description
•