Closed Bug 1670027 Opened 4 years ago Closed 3 years ago

Print selection is disabled inside the system modal if the print preview destination was set to “Save to PDF”

Categories

(Toolkit :: Printing, defect, P2)

defect

Tracking

()

VERIFIED FIXED
92 Branch
Tracking Status
firefox81 --- wontfix
firefox82 --- wontfix
firefox83 --- wontfix
firefox91 --- wontfix
firefox92 --- verified

People

(Reporter: emilghitta, Assigned: MattN)

References

(Blocks 1 open bug)

Details

(Whiteboard: [print2020] [old-ui-] )

Attachments

(2 files)

Attached image SelectionSaveToPDF.gif

Affected versions

  • Firefox 83.0a1 (BuildId:20201008094950)
  • Firefox 82.0b8 (BuildId:20201006142214)
  • Firefox 81.0.1 (BuildId:20200930150533)

Affected platforms

  • Windows 10 64bit
  • Ubuntu 18.04 64bit
  • macOS 10.14

Steps to reproduce

  1. Launch Firefox.
  2. Access a random webpage.
  3. Select a random string from the page.
  4. Open the print preview.
  5. Select the “Save to PDF” destination.
  6. Click the “Print using the system dialog”.
  7. Switch between the available destinations from the System dialog.

Expected result

  • The “Selection” radio button is available.

Actual result

  • The “Selection” radio button is not available.

Regression Window

  • I don’t think that this is a regression.

Additional Information

  • [Suggested severity] S3
  • For further information regarding this issue please observe the attached screencast.
Summary: Print selection is disabled inside the system modal if the print preview destination was se to “Save to PDF” → Print selection is disabled inside the system modal if the print preview destination was set to “Save to PDF”
Severity: -- → S3
Priority: -- → P2
See Also: → 140718
Whiteboard: [print2020_v83][old-ui-]

I guess because although we set isPrintSelectionRBEnabled, that setting isn't on the list of propagated settings.

Has STR: --- → yes
Whiteboard: [print2020_v83][old-ui-] → [print2020_v84][old-ui-]
Whiteboard: [print2020_v84][old-ui-] → [print2020_v85][old-ui-]

(Moving bugs to 86, part 1.)

Whiteboard: [print2020_v85][old-ui-] → [print2020_v86][old-ui-]

Moving things to 88, cause we're mostly on Proton these days…

Whiteboard: [print2020_v86][old-ui-] → [print2020_v88] [old-ui-]
Whiteboard: [print2020_v88] [old-ui-] → [print2020] [old-ui-]

Just hit this bug too (due to a separate issue of printing from the modal dialog not working at all, just flickering upon clicking "Save").

We need to set isPrintSelectionRBEnabled after getting default system printer settings for the system dialog (since we can't use the current settings which refer to the fake PDF printer): https://searchfox.org/mozilla-central/rev/3ba42a92cea3e61163091e7fe4d22bcda74a1e5a/toolkit/components/printing/content/print.js#287,302-305,307

Assignee: nobody → mozilla+bmo
Status: NEW → ASSIGNED

When the Mozilla PDF printer is selected, a new settings object was created without the value of isPrintSelectionRBEnabled computed.

Pushed by mozilla@noorenberghe.ca:
https://hg.mozilla.org/integration/autoland/rev/98cbaebbfa00
Always compute isPrintSelectionRBEnabled for the settings passed to the system print dialog. r=mstriemer
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch

The patch landed in nightly and beta is affected.
:MattN, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(mozilla+bmo)
Flags: needinfo?(mozilla+bmo)
Flags: qe-verify+

Reproduced the issue on an affected Nightly build from 2020-10-08 on Win 10 x64.

Verified as fixed on Firefox 92.0.1 (20210922161155) across the following platforms: Win 10 x64, Ubuntu 20.04 and macOS 10.15. The selection button is available, it is not grayed out anymore.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: