Closed Bug 1658031 Opened 4 years ago Closed 4 years ago

Don't update print preview when changing copies

Categories

(Toolkit :: Printing, defect, P3)

defect

Tracking

()

VERIFIED FIXED
81 Branch
Tracking Status
firefox81 --- verified

People

(Reporter: yoasif, Assigned: emmamalysz)

References

Details

(Keywords: nightly-community, Whiteboard: [print2020_v81])

Attachments

(2 files, 1 obsolete file)

Steps to reproduce:

  1. Open a web page
  2. Do control-p
  3. change number of copies

What happens:

Every time the number of copies is changed, the classic Print Preview dialog appears for a split second.

Expected result:

Print Preview dialog should not appear.

Blocks: 133787
Whiteboard: [print2020_v81]

Could you add a little more information? I'm not seeing this on MacOS…

Attached video 2020-08-07 18-44-43.mkv (obsolete) —

Blake, I attached a video showing the issue.

Huh. Interesting…

I think I remember someone talking about something related to this in one of the meetings, so hopefully we'll be able to get it fixed.

Thanks, Asif. Would you mind exporting the video to one of the video formats natively supported by Firefox?

https://support.mozilla.org/en-US/kb/html5-audio-and-video-firefox#w_supported-formats

The dialog that is being displaying is the print progress dialog. I discussed this late on Friday with mstriemer and pointed him to nsIPrintSettings.showPrintProgress. Setting that to false should get rid of the dialog, which presumably we'll get to trying out early next week.

Summary: Print Preview dialog appears momentarily when changing number of copies → Print progress dialog appears momentarily when changing number of copies
Attached video 2020-08-07 18-44-43.mp4

Attached the video in a mp4 container.

Attachment #9168940 - Attachment is obsolete: true

I added a comment to bug 1653323 so we can hide the progress dialog while the preview is loading.

However we shouldn't be updating the preview when a feature changes that won't affect the preview. So in the copies case I don't think we should be updating the preview.

From an implementation standpoint, I think we only need to update the preview if a setting has an associated flag.

Summary: Print progress dialog appears momentarily when changing number of copies → Don't update print preview when changing copies

Can you set a priority and severity?

Flags: needinfo?(mstriemer)
Severity: -- → S4
Flags: needinfo?(mstriemer)
Priority: -- → P3
Assignee: nobody → emalysz
Status: NEW → ASSIGNED
Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d95ae26b4a96
update print preview only for settings with flags to avoid a progress dialog r=mstriemer
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch

Reproduced with 81.0a1 (2020-08-07) on Windows 10.
Verified fixed with 81.0a1 (2020-08-24) on Windows 10, macOS 10.15 and Ubuntu 18.04.

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

Attachment

General

Creator:
Created:
Updated:
Size: