New issue
Advanced search Search tips

Issue 820942 link

Starred by 5 users

Issue metadata

Status: Duplicate
Merged: issue 819327
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Compat



Sign in to add a comment

Chrome 65 is printing blank pages

Reported by prole...@gmail.com, Mar 12 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36

Example URL:
https://www.coupons.com

Steps to reproduce the problem:
1. go to https://www.coupons.com
2. clip some coupons and try printing the coupons follwing the instructions
3.Chrome browser prints blank pages while other browsers print it fine (earlier chrome version works perfect)

What is the expected behavior?
Pages with coupons details should get printed

What went wrong?
Pages are getting printed .ust blank with out any content in them

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? Yes 64

Does this work in other browsers? Yes

Chrome version: 65.0.3325.146  Channel: stable
OS Version: OS X 10.12.6
Flash Version:
 
Printing_coupons.png
97.9 KB View Download

Comment 1 by prole...@gmail.com, Mar 12 2018

What is the expected behavior?
Pages with coupons details should get printed.

What went wrong?
Blank Pages are getting printed with out any content in them.
This issue is also present in Windows 10 OS. I reproduced this behavior on coupons.com as mentioned in this post. 

I also see this behavior on a site that uses an iframe and jQuery to print the contents of the iframe. This functionality worked in 64 but does not work in 65. 

Comment 3 by thoux2...@gmail.com, Mar 12 2018

I am also seeing this exact same issue. 
Broken Printing.png
47.9 KB View Download

Comment 4 by gov...@chromium.org, Mar 12 2018

Cc: pbomm...@chromium.org rbpotter@chromium.org
Components: Internals>Printing
Labels: Needs-Triage-M65
We are seeing this issue in our web apps that use javascript to print the contents of an iframe. Print Preview is blank, prints a blank page. Inspecting shows that the iframe is loaded and has content.
Cc: erikc...@chromium.org
This sounds like  bug 819644  and  bug 819327 , which are about seeing a blank Print Preview when printing with JavaScript. This specifically happens when printing an iframe that is styled with display: none. cc-ing erikchen@ who resolved those bugs.

There is also a different issue with printing with JS that only occurs on Windows. In this case, the Print Preview is correct but the print job gets prematurely cancelled in the print queue, so nothing actually comes out of the printer. If that is the problem you are seeing, it is likely  bug 820105 . That bug is fixed on the latest version of Chrome Canary (67.0.3367.0 and higher), and we are currently planning to merge the fix forward to Chrome 65 and 66 soon.

Comment 7 by thoux2...@gmail.com, Mar 12 2018

I've tried with Chrome Canary and it is the same result. A blank preview page and also a blank piece of paper once it is printed.
Okay. Again, Canary would only be expected to solve the problem if you were seeing nothing come out of the printer and the Print Preview looked correct. If the Print Preview is blank and the printer prints blank pages, that is probably  bug 819644 , which is not expected to be different on Canary. 
Labels: Needs-Feedback
If anyone has a different test case that does not require a phone number login, that would be helpful so that we can check to see for certain if this is the same as 819644.
Here is a video of the issue i am experiencing.  https://www.identifix.com/
BadPrinting.mp4
3.7 MB View Download
Cc: skobes@chromium.org chrishtr@chromium.org
Labels: OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Comment 10: thanks for the test case. I was able to reproduce the issue and bisected to https://chromium.googlesource.com/chromium/src/+log/36312fccc6b5f9bba0fa427d6b9756daad3b94e6..75c1af03e20798bbcd01ec14945a9d040c52be92, which is the same result I got for  bug 819644 . This likely started with https://crrev.com/c/830667, which means that this is probably the same as  bug 819644  and  bug 819327 . cc-ing some reviewers from that CL. This seems to be impacting quite a few webpages.

Adding Linux and Windows, based on comment 2 and the fact that I can repro on Linux.
 Bug 819327  has been re-opened to track the problem of Print Preview being blank when printing iframes with display:none. This is the issue with the page in comment 10. I can't verify for certain if the original report is the same since the webpage requires a login, but it is likely to also be the same issue.
To be clear for comment 10, not only is it a blabk preview this also prints out a blank pages. Thanks!
Yes, that is expected. The PDF you see in Print Preview is what gets sent to the printer, so if that is blank, the printer will print out blank pages. Also, since the change was to how the display:none styled iframe is rendered, the printed document gets generated in the same way for the system dialog, so blank pages print even if you run Chrome without print preview.

Comment 15 by weili@chromium.org, Mar 15 2018

Mergedinto: 819327
Status: Duplicate (was: Untriaged)

Sign in to add a comment