The number of copies can be incremented for Microsoft Print to PDF destination
Categories
(Toolkit :: Printing, defect, P2)
Tracking
()
People
(Reporter: emilghitta, Assigned: emmamalysz)
References
(Blocks 1 open bug)
Details
(Whiteboard: [print2020_v81])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details |
Affected versions
- 81.0a1 (BuildId:20200813092915)
Affected platforms
- Windows 10 64bit
Unaffected platforms
- macOS 10.14
- Ubuntu 18.04 64bit
Preconditions
- Ensure that the
print.tab_modal.enabled
pref is set totrue
Steps to reproduce
- Launch Firefox.
- Access a random page.
- Open print preview.
- Select the “Microsoft Print to PDF” as the Destination.
- Increment the number of copies and print to page.
Expected result
- The number of copies cannot be incremented for the “Microsoft Print to PDF” destination.
Actual result
- The number of copies can be incremented for the “Microsoft Print to PDF” destination and the outputted file displays the given number of copies inside the pdf.
Regression Range
- I don’t think that this is a regression.
Notes
- The number of copies can’t be incremented for the “Microsoft Print to PDF” destination via system dialog.
Comment 1•4 years ago
|
||
Huh. Weird. I would not have thought to try that.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
The same presumably applies to Microsoft XPS Document Writer, or any other "virtual printer driver" that saves to a file instead of sending to a physical printer.
If we had a "Save as PDF" button in the dialog, separate from the "Print" button (and independent of the selected driver), I think this should simply ignore the number of copies and save a single copy of the document. But when executing "Print" to a driver that happens to have a file destination, it's not clear to me whether this should be considered a bug, or simply the expected behavior.
Comment 3•4 years ago
|
||
Chrome removes the "Number of copies" field for "Save to PDF". That seems like a good idea.
We should probably do that for any printer with "PDF" or "XPS" in its name. We added a whole bunch of checks for various save-to-PDF virtual printers people use here:
However, the catch-all tells us that there's about 10% more again that we don't know about that people are using. (See the 'percent_pdf_unknown' count on https://sql.telemetry.mozilla.org/dashboard/print-dashboard )
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
Assignee | ||
Comment 8•4 years ago
|
||
Comment on attachment 9171843 [details]
Bug 1659112, hide copies section if saving to PDF or using save to file printer.
Beta/Release Uplift Approval Request
- User impact if declined: The user will be able to incorrectly update the number of copies when choosing a printer that is supposed to save files, not print.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: 1. Open firefox on Windows with print.tab_modal set to true
- Open print preview
- Change printer to a virtual printer that saves documents (like Microsoft XPS Document Writer)
- Notice copy fields disappears
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): No strings
- String changes made/needed: n/a
Assignee | ||
Updated•4 years ago
|
Reporter | ||
Comment 9•4 years ago
|
||
This is verified fixed using Firefox 82.0a1 (BuildId:20200827212940) on macOS 10.14, Ubuntu 18.04 & Windows 10 64bit.
Leaving a ni? on myself and the qe-verify+ flag until this gets uplifted & verified in beta as well.
Comment 10•4 years ago
|
||
Comment on attachment 9171843 [details]
Bug 1659112, hide copies section if saving to PDF or using save to file printer.
Approved for 81.0b4.
Comment 11•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Reporter | ||
Comment 12•4 years ago
|
||
This issue is verified fixed using Firefox 81.0b4 (BuildId:20200829200810) on Windows 10 64bit, macOS 10.14 & Ubuntu 20.04.
Description
•