Open Bug 1668208 Opened 4 years ago Updated 3 years ago

Save to PDF's print preview cuts off content in vertical frames test page

Categories

(Core :: Print Preview, defect, P3)

defect

Tracking

()

Tracking Status
firefox-esr78 --- unaffected
firefox82 --- wontfix
firefox83 --- wontfix
firefox84 --- wontfix
firefox85 --- fix-optional

People

(Reporter: csasca, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [print2020])

Attachments

(2 files)

Attached image Save to pdf preview.png

Affected versions

  • Firefox 82.0b5
  • Firefox 83.0a1

Affected platforms

  • Windows 10
  • macOS 10.13

Steps to reproduce

  1. Launch Firefox
  2. Access this test page containing vertical frames
  3. Access Print preview and select "Save to PDF" option

Expected result

  • The preview is rendered correctly

Actual result

  • When selected, the preview pages zooms in and cuts off the writings in the page.

Regression range

Additional notes

  • The issue can be seen in the attachment
  • Ubuntu 20 doesn't seem to be affected

Suggested severity

  • S3
Has Regression Range: --- → yes
Has STR: --- → yes

Hi Catalin: Can you share what scale setting you were using in print preview? At 100% scale or scale-to-fit it should fit correctly, but at larger scale sizes some of the text may be cut off.

Flags: needinfo?(catalin.sasca)

This happens for me on macOS in v83, v82 and v81 if I select A5 as the paper size (with 'Scale to page width' still selected). It happens both when print.tab_modal.enabled is set to true and when it is set to false. Is the difference you've seen in the last few days maybe due to settings changes, or testing with different profiles with different print settings saved to prefs?

We're probably not applying the 'Scale to page width' logic properly for <frameset> frames. I'm not sure we'll ever try to do that though, since <frameset> is extremely rarely used on the Web now and is not a priority for us at all. It's definitely not something we'll be trying to fix in v82.

Whiteboard: [print2020_v82][old-ui-] → [print2020]

Hi Sean, yeah this is on a clean profile, and using the default settings. And it seems that it uses A5 paper size by default

Flags: needinfo?(catalin.sasca)
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: