Printing doesn't display anything
Reported by
sijones2...@gmail.com,
Mar 7 2018
|
||||||||||||
Issue descriptionUserAgent: 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.
,
Mar 7 2018
,
Mar 7 2018
,
Mar 7 2018
,
Mar 7 2018
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.
,
Mar 7 2018
,
Mar 7 2018
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?
,
Mar 7 2018
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
,
Mar 7 2018
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.
,
Mar 7 2018
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.
,
Mar 7 2018
,
Mar 7 2018
,
Mar 8 2018
> 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.
,
Mar 8 2018
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.
,
Mar 13 2018
Comment 14: Please see bug 819327 , which has been re-opened to track this issue.
,
Mar 14 2018
|
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by sijones2...@gmail.com
, Mar 7 2018