Open Bug 1859616 Opened 1 year ago Updated 11 months ago

First page's page size is used as the default page-size for subsequent unstyled pages, with save-to-PDF print backend

Categories

(Core :: Printing: Output, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned, NeedInfo)

References

Details

Attachments

(3 files)

Attached file testcase 1

(This might be a dupe of an existing bug, but I'm not finding it yet. This is similar but distinct to bug 1816554.)

STR:

  1. Print-preview the attached testcase, using Save-to-PDF print target
    (choice of print target is optional; just to reduce printer-specific variability)

ACTUAL RESULTS:
All pages are printed using a small page-size.

EXPECTED RESULTS:
Only the first page should be printed using a small page size.

Severity: -- → S3

Ah, so this is only an issue for the save-to-PDF print target, actually.

With an actual printer, we give expected-results. Pages after page 2 are shown in print-preview as using the paper size that's shown in the "Paper Size" dropdown (the printer default, typically).

But with print-to-PDF, with this testcase, we don't show that dropdown; and we behave as if the author's custom tiny page-size were the default for the remaining pages.

Summary: First page's page style applied to subsequent unstyled pages → First page's page size is used as the default page-size for subsequent unstyled pages, with save-to-PDF print backend

Presumably when you say "page size" here, you mean "sheet size"?

I think this is at least partially a consequence of bug 1868708, and for now expected behavior.

Flags: needinfo?(jwatt)
Flags: needinfo?(dholbert)

(In reply to Jonathan Watt [:jwatt] from comment #4)

Presumably when you say "page size" here, you mean "sheet size"?

I initially meant page size. But ah, I think you're onto something. [EDIT: deleting the rest of this paragraph, since It was kinda gibberish and comment 6 is a clearer restatement of what I meant to say here. :) ]

I think this is at least partially a consequence of bug 1868708, and for now expected behavior.

I think you're probably right, if I'm understanding that bug correctly.

Flags: needinfo?(dholbert)

In other words, it seems like pages 2+ in my screenshot here are only "incidentally" using 3x3 as their page size; they're just sizing to fit their sheet, and their sheets are all 3x3 because we (incorrectly) carry forward the sheet size that we used for the first page, which (correctly) comes from the first page's declared @page size.

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

Attachment

General

Created:
Updated:
Size: