Closed Bug 1702635 Opened 5 years ago Closed 3 years ago

Multipage table with `overflow: visible` results in blank areas in print output (with layout.display-list.improve-fragmentation=true)

Categories

(Core :: Printing: Output, defect, P2)

Firefox 87
defect

Tracking

()

RESOLVED DUPLICATE of bug 1648947

People

(Reporter: lez, Unassigned)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

Steps to reproduce:

printing a multi-page table document. Specifically this occurs when printing a celtx schedule stripboard. This may well happen with other multi-page tables with headers.

To create such a schedule in celtx:

  • create a free account
  • choose 'film'
  • optionally EITHER "import" a screenplay
  • OR open script editor and add 60 or more scenes (eg INT. OFFICE. DAY) to the script
  • open stripboard (there will be one strip for each scene)
    print

Actual results:

with version 87, there are now blank pages and added white space.
(see screenshot)

Expected results:

with version 84, pages printed correctly without white space
(see screenshot)

NOTE print works with safari and chrome, and FF v.84

The Bugbug bot thinks this bug should belong to the 'Core::Printing: Output' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Printing: Output
Product: Firefox → Core

Sorry for the massive lag here. Can you attach a version of the page that reproduces this or provide a URL so that we can dig into it? Thank you.

Flags: needinfo?(lez)
Flags: needinfo?(lez)

Mats, this seems to be a regression from bug 1681052, can you take a look?

Severity: -- → S2
Flags: needinfo?(mats)
Priority: -- → P2
Summary: Print Wrongly inserting Blank Pages and Space in multipage table document landscape → Print Wrongly inserting Blank Pages and Space in multipage table document landscape (with layout.display-list.improve-fragmentation=true)
Status: UNCONFIRMED → NEW
Ever confirmed: true

Printing this table shows the bug. I don't see anything suspicious of causing overflow there, so maybe a bug with table layout overflow calculations?

This is still reproducible, FWIW, using testcase in comment 5.

I'm using print-preview, with landscape-oriented US Letter pages, "Fit to Page Width" (or "Scale: 100%") and the default "Save to PDF" print target. This shows me 4 pages, with the 3rd page being mostly-blank.

I'll take over mats' needinfo here and I'll try to investigate at some point.

Flags: needinfo?(MatsPalmgren_bugz) → needinfo?(dholbert)
See Also: → 1674883

As noted in duplicate bug 1785107 comment 6, and comment 5 in this bug, this seems related to overflow: visible; . Remove/disable the following rule, and there is no blank space:

    .production-main {
      overflow: visible;
    }
Summary: Print Wrongly inserting Blank Pages and Space in multipage table document landscape (with layout.display-list.improve-fragmentation=true) → Multipage table with `overflow: visible` results in blank areas in print output (with layout.display-list.improve-fragmentation=true)
See Also: → 1648947

I think this is likely to be a duplicate of bug 1648947. Marking it as such for the time being; we can circle back here once that one's fixed and reopen if this turns out to still be broken at that point.

Status: NEW → RESOLVED
Closed: 3 years ago
Duplicate of bug: 1648947
Flags: needinfo?(dholbert)
Resolution: --- → DUPLICATE
See Also: 1648947
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: