Fix multiple pages-per-sheet scaling regression
Categories
(Core :: Printing: Setup, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox113 | --- | unaffected |
| firefox114 | + | verified |
| firefox115 | --- | verified |
People
(Reporter: jwatt, Assigned: jwatt)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
|
386.07 KB,
image/png
|
Details |
| Assignee | ||
Comment 1•2 years ago
|
||
When splitting out the code for bug 1830900 I missed this rather important line.
That bug changed the code to store certain values on a per-sheet basis, but
forgot to include this line to calculate them for all sheets (as opposed to
just the first sheet).
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
[Tracking Requested - why for this release]: Printing multiple pages-per-sheet is broken without it.
Comment 3•2 years ago
|
||
Set release status flags based on info from the regressing bug 1830900
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Here are some STR here, for reproducing the issue here verifying that this bug is fixed (and reproducing/verifying it when we uplift to 114):
- Visit some document with many pages, e.g. https://en.wikipedia.org/wiki/Alice%27s_Adventures_in_Wonderland
- Ctrl+P to open Print Preview
- Choose "More Settings" and then "Pages Per Sheet: 2"
- Scroll through the print-previewed document.
- Now try changing to "Pages per sheet: 4", and scroll through the print-previewed document.
EXPECTED RESULTS:
The correct number of pages per sheet properly shown on all sheets.
ACTUAL RESULTS:
1 page shown on each sheet. (The missing pages are lost entirely)
For the 2-pages-per-sheet scenario, the page runs off the bottom of the sheet.
Comment 5•2 years ago
|
||
Here's a screenshot of what the issue looks like, with 2 pages per sheet (left) and 4 pages per sheet (right).
Comment 7•2 years ago
|
||
Backed out for causing assertion failures on PrintedSheetFrame.cpp
Comment 9•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 10•2 years ago
|
||
Comment on attachment 9334642 [details]
Bug 1833682. Fix n-pages-per-sheet regression, to ensure we properly scale pages beyond the first sheet. r=dholbert,alaskanemily
Beta/Release Uplift Approval Request
- User impact if declined: Printing multiple pages-per-sheet is broken after the first sheet.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce: See Daniel's comment 5.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Simple fix.
- String changes made/needed:
- Is Android affected?: No
Comment 11•2 years ago
|
||
Comment on attachment 9334642 [details]
Bug 1833682. Fix n-pages-per-sheet regression, to ensure we properly scale pages beyond the first sheet. r=dholbert,alaskanemily
Approved for 114.0b6.
Comment 12•2 years ago
|
||
| bugherder uplift | ||
Updated•2 years ago
|
Updated•2 years ago
|
Reproducible on a 2023-05-17 Nightly build on macOS 12 using the STR from Comment 4.
Verified as fixed on Firefox 114.06(build ID: 20230518180043) and Nightly 115.0a1(build ID: 20230521210743) on macOS 12, Windows 10, Ubuntu 22.
Print Preview now displays the correct number of pages per sheet.
| Comment hidden (obsolete) |
| Assignee | ||
Updated•1 year ago
|
Description
•