Closed
Bug 1662331
Opened 5 years ago
Closed 5 years ago
Use sheetCount rather than calculated the number of rendered pages
Categories
(Toolkit :: Printing, task, P2)
Toolkit
Printing
Tracking
()
RESOLVED
FIXED
84 Branch
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: mstriemer, Assigned: mstriemer)
References
Details
(Whiteboard: [print2020_v84])
Attachments
(2 files)
The printPreview promise API returns to us the sheetCount
which isn't currently being used, but could be used instead of doing page range calculations on our own.
We'll definitely want to do this before pages per sheet is ready (bug 1631452) and the math on our page range calculation will become incorrect.
While making this change it might be nice to remove the page-count
event and instead put totalPageCount
and sheetCount
on the view settings object.
Comment 1•5 years ago
|
||
[Moving front-end printing v82 bugs to v83.]
Whiteboard: [print2020_v82] → [print2020_v83]
Assignee | ||
Updated•5 years ago
|
Whiteboard: [print2020_v83] → [print2020_v84]
Updated•5 years ago
|
Whiteboard: [print2020_v84] → [print2020_v85]
Assignee | ||
Comment 2•5 years ago
|
||
This is needed for the pages per sheet work, moving back to 84
Assignee: nobody → mstriemer
Whiteboard: [print2020_v85] → [print2020_v84]
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Attachment #9184818 -
Attachment description: Bug 1662331 - Use the sheetCount from printPreview directly r?emalysz → Bug 1662331 - Part 1: Use the sheetCount from printPreview directly r?emalysz
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D95332
Assignee | ||
Updated•5 years ago
|
Status: NEW → ASSIGNED
Pushed by mstriemer@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8204a321ed4c
Part 1: Use the sheetCount from printPreview directly r=emalysz
https://hg.mozilla.org/integration/autoland/rev/59d94c9d9925
Part 2: Rename numPages to sheetCount r=sfoster
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8204a321ed4c
https://hg.mozilla.org/mozilla-central/rev/59d94c9d9925
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox84:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Updated•5 years ago
|
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•