Open Bug 1876846 Opened 10 months ago Updated 9 months ago

Simplified PDF print mode (Reader mode behind the scenes) sometimes still creates unbounded extra-large image widths

Categories

(Toolkit :: Printing, defect, P3)

defect

Tracking

()

People

(Reporter: nekohayo, Unassigned)

References

Details

Attachments

(1 file)

Attached image Screenshot

This is a follow-up to bug #1798965 for a particular case I encountered today where the problem still can present itself.
I have tested this with Firefox 122 on Fedora 39 (Linux).

Steps to reproduce:

  1. Go to this blog post
  2. Open the print dialog (Ctrl+P)
  3. Choose "Save to PDF" as the "Destination"
  4. Choose "Simplified" instead of "Original" in the Format setting

Actual results:

Same symptoms as what was reported in bug #1798965; in this case, the 1st image shows up 2-3x larger than the other ones, forcing the page canvas to be wider than it should be, leading to all the other images to be small in comparison, and the text font size becomes extremely small as well, making it near impossible to read and turning paragraphs into extremely long line lengths.

Expected results

That image correctly shows up at the same width as the others when viewing the page in Reader Mode, so presumably it should be able to behave in Simplified print mode too.

I can reproduce, using Firefox 124.0a1 (2024-01-25) (64-bit) Nightly on Ubuntu 22.04.

For what it's worth: if I enter reader mode first, and then print-preview, then I get expected-results.

I think Simplified Print Mode is expected to exactly a print-preview/printout of reader mode, so the inconsistency seems suspicious.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 962433

I think Simplified Print Mode is expected to exactly a print-preview/printout of reader mode, so the inconsistency seems suspicious.

Well I also noticed that the fonts are rendered vastly differently (especially the sizes) if you explicitly enter Reader Mode before going to Simplified printing, and it is to be considered a bug (that would be acceptable to report) so I didn't file one about that particular observation, but it is also somewhat related to the ideas I had when filing bug #1876833...

and it is to be considered a bug

Oops, I meant "[…] and I wasn't sure if it is to be considered a bug […]"

Severity: -- → S3
Priority: -- → P3

Another article where the issue happens, in a very noticeable way: https://lactualite.com/societe/les-voleurs-didentite/

Same observation as Daniel above: it only happens when you directly enter printing mode and select "Simplified", but it does not happen if you entered reader mode once (even if you exit it) before calling the print dialog. Reloading the page resets/primes the bug to occur again.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: