Closed
Bug 1769132
Opened 3 years ago
Closed 3 years ago
Fix "Print selection only" when pref 'print.prefer_system_dialog' is set to true
Categories
(Toolkit :: Printing, defect)
Toolkit
Printing
Tracking
()
VERIFIED
FIXED
102 Branch
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Follow-up from bug 1712104.
![]() |
Assignee | |
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → jwatt
Status: NEW → ASSIGNED
Pushed by jwatt@jwatt.org:
https://hg.mozilla.org/integration/autoland/rev/c66a1b9c927c
Fix "Print selection only" when pref 'print.prefer_system_dialog' is set to true. r=mstriemer
![]() |
Assignee | |
Comment 3•3 years ago
|
||
Comment on attachment 9276333 [details]
Bug 1769132 - Fix "Print selection only" when pref 'print.prefer_system_dialog' is set to true. r=mstriemer
Beta/Release Uplift Approval Request
- User impact if declined: In bug 1712104 I added functionality to print directly using the system print dialog. The dialog opened in that scenario fails to pay attention to whether there's a selection in the document to be printed though, so doesn't enable the "Print selection only" radio button in the dialog. This is a fairly trivial fix and will avoid users being annoyed by that.
- 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: Set pref
print.prefer_system_dialog
to true, open a page with text, then try printing with/without selecting some of the text. The "Print selection only" radio button should only be enabled (or shown) if there is a selection in the page, and printing with that radio checked should only print the selection. - List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The patch essentially just adds a missing call to the function that checks if there is a selection, and flags the fact there's a selection to the native dialog.
- String changes made/needed:
- Is Android affected?: Yes
Attachment #9276333 -
Flags: approval-mozilla-beta?
![]() |
Assignee | |
Updated•3 years ago
|
Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Comment 5•3 years ago
|
||
Comment on attachment 9276333 [details]
Bug 1769132 - Fix "Print selection only" when pref 'print.prefer_system_dialog' is set to true. r=mstriemer
Approved for 101.0b7.
Attachment #9276333 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 6•3 years ago
|
||
bugherder uplift |
status-firefox101:
--- → fixed
Updated•3 years ago
|
QA Whiteboard: [qa-triaged]
Comment 7•3 years ago
|
||
I have reproduced this issue on an affected Nightly build from 2022-05-12, on Win 10 x64.
Verified as fixed on Firefox 101.0b7 (20220515185854) and Firefox 102.0a1 (20220517092745) on Windows 10 x64, macOS 10.14 and Ubuntu 21.04.
With 'print.prefer_system_dialog' set to true, the "Print selection only" radio button is enabled in the system print dialog when there is a selection in the document.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•