Hide open system dialog button when "Save to PDF" is destination on Windows
Categories
(Toolkit :: Printing, defect, P1)
Tracking
()
People
(Reporter: svoisen, Assigned: emmamalysz)
References
Details
(Whiteboard: [print2020_v81])
Attachments
(1 file, 1 obsolete file)
Bug 1659626, hide option to open system dialog if 'save to pdf' is selected printer except on macosx
(deleted),
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details |
STR
- Enable the new tab modal print UI via
print.tab_modal.enabled
. - Print any page. From the new print UI, select "Save as PDF."
- Click "Print using system dialog."
Actual
The file chooser for saving the PDF opens.
Expected
Given the name of the link, I would expect to still be able to open the system dialog and select a printer, change settings, etc. If my default or last used printer was "Save to PDF" and then I go straight to "Print using system dialog" this feels like unexpected behavior.
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
We had discussed disabling this button if "Save to pdf" is the chosen printer. However, it does look like other browsers keep it as an available option.
If we decide on disabling, I can get a different patch up.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
So, is this RESOLVED INVALID, or are we going to try to morph it into a different fix?
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Comment 5•4 years ago
|
||
Emma, patch failed to land.
Details:
We're sorry, Lando could not rebase your commits for you automatically. Please manually rebase your commits and try again.
hg error in cmd: hg import --no-commit -s 95 /tmp/tmpz08xtuoe: applying /tmp/tmpz08xtuoe
patching file toolkit/components/printing/content/print.js
Hunk #1 FAILED at 5
1 out of 2 hunks FAILED -- saving rejects to file toolkit/components/printing/content/print.js.rej
abort: patch failed to apply
Comment 7•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment 8•4 years ago
|
||
Reminder to request beta approval. (I know you're likely to revert this for a different approach, but uplifting this in the meantime should help avoid conflicts for other patches that need to be uplifted.)
Assignee | ||
Comment 9•4 years ago
|
||
Comment on attachment 9171734 [details]
Bug 1659626, hide option to open system dialog if 'save to pdf' is selected printer except on macosx
Beta/Release Uplift Approval Request
- User impact if declined: The user will be able to open the system dialog when "save to pdf" is the selected printer, despite windows/linux not having Save to pdf functionality in their native print dialog.
- 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 or linux
- Select "save to pdf" as printer
- Notice "open with system dialog" link disappear
- 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
|
Comment 10•4 years ago
|
||
This is verified fixed using Firefox 82.0a1 (BuildId:20200827212940) on Windows 10 64bit & Ubuntu 18.04 (also confirming that the option is still displayed on macOS 10.14).
Leaving a ni? on myself and the qe-verify+ flag until this gets uplifted and verified in Beta as well.
Comment 11•4 years ago
|
||
Comment on attachment 9171734 [details]
Bug 1659626, hide option to open system dialog if 'save to pdf' is selected printer except on macosx
Approved for 81.0b4.
Comment 12•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Comment 13•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
•