Closed Bug 1664565 Opened 3 months ago Closed 2 months ago

Sheet count flashes an invalid number when changing between PDF and non-PDF printers

Categories

(Toolkit :: Printing, defect, P3)

defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: mstriemer, Assigned: mstriemer)

References

Details

(Whiteboard: [print2020_v82][old-ui-])

Attachments

(1 file)

After bug 1662434, numCopies is no longer used when calculated the number of sheets for PDF printers. This causes the sheet count to change twice when switching between PDF and non-PDF printers.

With a non-PDF printer set numCopies=3 and assume numPages=5. The sheet count is 15, switching to a PDF printer will immediately update numCopies to 1, and flash 5 sheets of paper before being hidden until the page count is updated at which point numPages may be 3 and it will show again with 3 sheets of paper.

Assignee: nobody → mstriemer
Status: NEW → ASSIGNED

This avoids the sheet count being shown incorrectly when the destination
changes between PDF and non-PDF printers.

Depends on D89797

Whiteboard: [print2020_v82][old-ui-]
Pushed by mstriemer@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7c560188829a
Immediately enter rendering state when requesting an updated preview r=emalysz
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.