Closed Bug 1634125 Opened 4 years ago Closed 4 years ago

PDF does not have the full content

Categories

(Core :: Printing: Output, defect)

74 Branch
defect

Tracking

()

VERIFIED DUPLICATE of bug 1622935

People

(Reporter: hassan, Unassigned)

Details

STR:

  1. Navigate to https://jaredpetersen.github.io/codeprinter/
  2. Copy paste the content of https://raw.githubusercontent.com/taskcluster/taskcluster/master/services/github/src/api.js in the text field area.
  3. Open the print window and save as PDF

Expected: The PDF has all of the content.
Actual: The PDF has a single page.

Context: I'm trying to print that page but I noticed that both the printer job and the PDF has only a single page. Works on chrome.

Component: PDF Viewer → Untriaged
Component: Untriaged → Printing
Product: Firefox → Toolkit
Component: Printing → Printing: Output
Product: Toolkit → Core

This is a dupe of bug 939897.

The code printer app provided places all the code to be printed in a hidden div inside a flex container. When the user clicks "Print" that div is shown and the rest hidden, then the app does a window.print() of the contents. Since all of the content is still inside a flexbox, we fail to fragment it correctly. We hope to have this fixed soon.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

This is fixed by bug 1622935. Firefox Nightly (2020-05-13) can print all the pages via the steps in comment 0.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.