Closed Bug 1668193 Opened 4 years ago Closed 3 years ago

print blank page , when enable the silent print in firefox 81

Categories

(Core :: Printing: Output, defect, P2)

Firefox 81
Desktop
Windows
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr78 --- unaffected
firefox81 --- wontfix
firefox82 --- wontfix
firefox83 --- wontfix
firefox84 --- wontfix
firefox85 --- wontfix
firefox86 --- wontfix
firefox87 --- wontfix
firefox88 --- wontfix

People

(Reporter: arunkumar1311195, Unassigned, NeedInfo)

References

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

os:windows 10.0.18363, firefox:81
1.go about:config
2.set print.always_silent_print = true, print.save_print_settings=false, remove print_printer
3.print

Actual results:

It prints empty page.
it works fine till firefox 80.

Expected results:

it prints the page with content.

Component: Untriaged → Printing: Output
Product: Firefox → Core
Blocks: 133787
Attached image print_silent.gif

I can reproduce the issue on Windows 7x64 with Firefox 81.0.1 (20200930150533) by following the STR:

  1. Open Firefox with a clean profile and set print.always_print_silent:true.
  2. Open a random webpage and hit Ctrl+P (please see the attached screen recording).

Also Firefox 82.0b5 and Firefox Nightly 83.0a1 (20200930214529) are affected.
I cannot reproduce the issue with Firefox 80.0.1 (20200831163820).

Status: UNCONFIRMED → NEW
Has Regression Range: --- → no
Has STR: --- → yes
Ever confirmed: true
OS: Unspecified → Windows
Hardware: Unspecified → Desktop
See Also: → 1662471
QA Whiteboard: [qa-regression-triage]

Updating flags, thanks for the help Alice!

Has Regression Range: no → yes

Looks like this needs triage, forwarding to jwatt in case its not already on his radar.

Flags: needinfo?(sfoster) → needinfo?(jwatt)
Severity: -- → S2
Priority: -- → P2
QA Whiteboard: [qa-regression-triage] → [qa-regression-triage][print2020_v84]
Flags: needinfo?(jwatt)

Hey arun,
Can you still reproduce this issue or should we close it?

Flags: needinfo?(arunkumar1311195)

(In reply to Andrei Purice from comment #5)

Hey arun,
Can you still reproduce this issue or should we close it?

hey andrei purice, I had checked until firefox version 89, bug not fixed, i can reproduce it

Flags: needinfo?(arunkumar1311195)
QA Whiteboard: [qa-regression-triage][print2020_v84] → [qa-regression-triage][print2020_v84][qa-not-actionable]

This is a legit bug.

I can reproduce on ff91esr.

Steps to reproduce:

  1. remove user profile
  2. launch ff
  3. set pref print.always_print_silent to true
  4. go to test page: https://www.mozdevgroup.com/dropbox/test/print.html
  5. click on print button
  6. result a blank page will always be printed

This is a result of the printsettings never being initialized. Since printPageSetup.xhtml which loads printPageSetup.js initializes the printsettings when the page loads, if silent printing is enabled before this page is ever loaded, the printsettings never get initialized which results in a blank page being printed until the user loads this print dialog page after which it is no longer an issue.

Is this still reproducible in Firefox Nightly? (Note, I'm assuming step 1 in comment 7 "remove user profile" just means "test with a brand-new Firefox profile")

I think it might be fixed; if I use the STR from comment 7 (including a fresh Firefox profile), here's what I see:

  • Firefox ESR 91.6.0esr doesn't print anything (not even a blank page, for me); instead I see this in my Ctrl-Shift-J Browser Console: Uncaught (in promise) undefined

  • Firefox Nightly 99.0a1 (2022-02-08) (64-bit) prints the page as-expected, and there's no such error in my browser console.

Note that there were some code-changes that involved silent printing over the last few months; in particular, bug 1669149 introduced a new problem (more recent than this bug here) which was described in & fixed in bug 1741698.

So: it's conceivable that this was fixed by that work (given my observations in comment 8 which seem like this being fixed -- though I'm not sure if I was hitting exactly this in old builds vs. hitting something else, since I didn't quite get "blank page" result -- I just got nothing printed at all.)

Pete, would you mind testing Nightly ( https://nightly.mozilla.org/ ) on your end with your steps from comment 7, and seeing if this looks fixed for you?

Flags: needinfo?(pete)

Still waiting to hear back on comment 9; but for now based on my testing in comment 8, it looks like this is WORKSFORME.

Please reopen if folks are still seeing this, though - thanks!

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: