Content overlaps headers (and footers disappear), when printing/print-previewing with a physical printer and sufficiently-small top margin
Categories
(Core :: Printing: Output, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
Details
Attachments
(2 files)
STR:
- Load attached testcase.
- Print-preview.
- Choose a physical printer as your destination.
- In "More settings" in the print preview UI, choose
Margins:Minimum, orCustomwith 0 (or small values). - Ensure you have the "Print headers and footers" checkbox checked.
ACTUAL RESULTS:
- The header shows up, overlapping the page content.
- The footer does not show up.
EXPECTED RESULTS:
Probably neither the header nor footer should show up.
As I recall, we intend to render the header/footer in the gap that's outside of the (user-controllable) print-margin, but inside the writeable bounds. If there's not enough space in that gap, we just decline to show the header/footer. That seems to be what's happening for the footer (we decline to show it), but we're rendering the header overlaying the actual document content, for some reason.
This doesn't seem to be a recent regression, FWIW; I can repro with Nightly 86.0a1 (2021-01-01) with my Brother HL-2280DW, on linux. I also tested & can reproduce in yesterday's Nightly on Linux and macOS -- version 114.0a1 (2023-04-10).
[EDIT: initially I thought this reproduced with Margins:None, too -- but after retesting, it seems like that works properly; the header doesn't show up, which is good.]
| Reporter | ||
Comment 1•2 years ago
|
||
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Comment 2•2 years ago
|
||
This affects the actual printed output as well; it's not just a print preview glitch.
| Reporter | ||
Comment 3•2 years ago
|
||
(the expected results here -- hidden headers/footers -- might date back to bug 1250674. I don't recall / haven't tested if we autohid headers/footers to avoid collisions with content area before that point; or indeed if it was possible for headers/footers to collide with the content area back then [if you could set the margins to be sufficiently small or not)
Description
•