Closed Bug 1661645 Opened 5 years ago Closed 5 years ago

Reset applying grayscale filter when the destination is set to "Save to PDF"

Categories

(Toolkit :: Printing, defect, P1)

defect

Tracking

()

VERIFIED FIXED
82 Branch
Tracking Status
firefox81 --- verified
firefox82 --- verified
firefox83 --- verified

People

(Reporter: hiro, Assigned: mstriemer)

References

Details

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

Attachments

(1 file, 1 obsolete file)

STR;

  1. Open print preview
  2. Change color mode to "Black and white" somehow (e.g. changing the destination to a printer which is able to print out in color)
  3. Switch the destination to "Save to PDF"
Whiteboard: [print2020_v81] [old-ui-]

Another scenario that I just bumped into with a fresh profile: I have "black and white"-only printer connected. I open the print preview, and while the "color mode" is correct in the settings, the preview shows colors.

This line is not working as expected: https://searchfox.org/mozilla-central/rev/ce21a13035623c1d349980057d09000e70669802/toolkit/components/printing/content/print.js#781

As in, it's not triggering the handleEvent() below....

Assignee: nobody → emilio
Severity: -- → S1
Priority: -- → P1
Attachment #9172645 - Attachment is obsolete: true
Assignee: emilio → mstriemer
Component: Print Preview → Printing
Product: Core → Toolkit
Status: NEW → ASSIGNED
Blocks: 1661722
Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1a85b68ddab4 Set printInColor based on printer support r=emilio,emalysz
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch

Reminder to request Beta uplift.

Flags: needinfo?(mstriemer)

Comment on attachment 9172721 [details]
Bug 1661645 - Set printInColor based on printer support r?emilio,emalysz

Beta/Release Uplift Approval Request

  • User impact if declined: Print settings for the color mode can get out of sync.
  • 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: See comment 0
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Feature is behind a pref.
  • String changes made/needed: No
Flags: needinfo?(mstriemer)
Attachment #9172721 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Reproduced this issue using Firefox 82.0a1 (BuildId:20200828153126).

This issue is verified fixed while changing between different printing destinations (physical printers (B&W), Save to PDF, OneNote for Windows 10, Microsoft XPS Document Writer & Fax.)

Please note that Microsoft Print to PDF seems to be affected. But I think that this issue will be tracked in another bug -> see Bug 1661720.

Verified using Windows 10 64bit, macOS 10.14 & Ubuntu 18.04 64bit (with the platform specific destinations).

Leaving a ni? on myself and the qe-verify+ flag until this gets verified in Beta as well.

Flags: needinfo?(emil.ghitta)

Comment on attachment 9172721 [details]
Bug 1661645 - Set printInColor based on printer support r?emilio,emalysz

This needs a rebased patch for Beta

Flags: needinfo?(mstriemer)
Attachment #9172721 - Flags: approval-mozilla-beta?

Bug 1660857 has been uplifted, we're checking to see if this applies cleanly now…

I just successfully grafted 1a85b68ddab4 onto beta now that bug 1660857 is there.

Do you mind trying again, Ryan?

Flags: needinfo?(mstriemer) → needinfo?(ryanvm)

Comment on attachment 9172721 [details]
Bug 1661645 - Set printInColor based on printer support r?emilio,emalysz

Yes, thanks. Approved for 81.0b6.

Flags: needinfo?(ryanvm)
Attachment #9172721 - Flags: approval-mozilla-beta+

Confirming this issue as verified fixed.

Verified using 83.0a1 (2020-09-22) and Beta 82.0b2 with Win10x64, macOS 10.15.6 and Ubuntu 20

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

Attachment

General

Created:
Updated:
Size: