New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 819644 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Printing doesn't display anything

Reported by sijones2...@gmail.com, Mar 7 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. Open a page to print that has embed style information
2. Try printing and in print preview the content won't be displayed

What is the expected behavior?
Print preview should render content

What went wrong?
Nothing rendered

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: 10.0
Flash Version: Shockwave Flash 28.0 r0

I use opencart and a POS web based system, once chrome upgraded to v65 it broke receipt printing and label. 

When i open print preview and right click -> inspect there is an error about changes in 65 that will break the current page

https://github.com/TakayoshiKochi/deprecate-style-in-html-imports

The web page isn't imported but is a php file, the content has the style in the master page but i think the print preview is a master page loading the content and therefore is breaking due to this change.
 
Rolling back to 64 and everything works again.
Components: Internals>Printing
Labels: Needs-Bisect Needs-Triage-M65
Cc: thestig@chromium.org pchalla@chromium.org pbomm...@chromium.org gov...@chromium.org
Cc: rbpotter@chromium.org
Labels: Needs-Feedback
The warning is actually about the PDF viewer in the Print Preview page, and will show up if you inspect print preview on any webpage. See bug 735633. This is likely unrelated to this issue.

Can you provide a link to a sample page that demonstrates the problem? There is probably something specific to that page that is causing it to be rendered differently for printing in 65 vs 64. There is also  bug 819327 , which sounds similar, but we won't know if this is the same issue or not without a sample page to test.
Labels: M-65
I can give you access to my training system which shows the same behaviour but would prefer not to expose credentials here.

How can I send them? or who to? 
Project Member

Comment 8 by sheriffbot@chromium.org, Mar 7 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
You can send them to me. If I can reproduce the issue with your test case, I will try running a bisect from 64 to 65 to see where exactly it broke.
Cc: -gov...@chromium.org erikc...@chromium.org
Labels: OS-Linux
Status: Untriaged (was: Unconfirmed)
With the test page and credentials from sijones2010, I can reproduce the issue on Linux, so adding label and changing status to Untriaged. I strongly suspect this is a duplicate of  bug 819327 , as the bisect result was:

You are probably looking for a change made after 524503 (known good), but no later than 524506 (first known bad).
CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/36312fccc6b5f9bba0fa427d6b9756daad3b94e6..75c1af03e20798bbcd01ec14945a9d040c52be92

which includes this CL, https://crrev.com/c/830667. That CL appears to be the original, and the re-land of it was found by the bisect for the other bug.

I also was able to inspect the sample page, and it has an (invisible) iframe that has an ID indicating it is probably what is being printed when the page's print button is clicked. That iframe is styled with display:none, as was the case for the test page in  bug 819327 .

+erikchen@ to confirm/determine next steps.
Cc: -pchalla@chromium.org gov...@chromium.org
Cc: pchalla@chromium.org
Status: WontFix (was: Untriaged)
> I also was able to inspect the sample page, and it has an (invisible) iframe that has an ID indicating it is probably what is being printed when the page's print button is clicked. That iframe is styled with display:none, as was the case for the test page in   bug 819327  .

Thanks for investigating. I'm surprised that this has ever worked before. It looks like this is a hack that some developers employed to print different contents than what's being displayed on the page. I believe that like  Issue 819327 , this should be a WontFix.
I know you see it as a hack but am not sure if there is any other way, i didn't develop the code so i don't know if there is.

All it is doing is printing a receipt - it is showing the Point of Sale system then clicking print it must be changing the content in some way to then print a receipt.

It works fine in other browsers so i suppose i'll have to switch then.

Thanks for your time.
Comment 14: Please see  bug 819327 , which has been re-opened to track this issue.
Mergedinto: 819327
Status: Duplicate (was: WontFix)

Sign in to add a comment