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

Issue 835695 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Print to pdf doesn't work for some pages.

Reported by guoc...@nutstore.net, Apr 23 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/65.0.3325.181 Chrome/65.0.3325.181 Safari/537.36

Steps to reproduce the problem:
https://mp.weixin.qq.com/s?__biz=MzA3MTYyODU3Ng==&mid=2649751241&idx=1&sn=68be53a4a4562fc32cee7b1f3a492dc5&chksm=8731fc86b04675902ff8557d06ed279d8f1b326546c84e45eac1a495446f2e1e4786e737c4c2&mpshare=1&scene=1&srcid=0320nLXUl37EcakhYdoVmXIi#rd

A. With UI
   1. Navigate to URL above
   2. Scroll down to load the media like images
   3. print the page and it will freeze at preview window. the UI still respond to my clicks but it does not show the preview, neither can i print the page
B. headless chrome/chromium
   1. run ```chromium-browser --headless --disable-gpu --print-to-pdf $URL_ABOVE --enable-logging --v=1```
   2. the headless chromium stopped with no pdf generated, printing the following lines repeatly:
      ```
       [0423/101638.738949:VERBOSE1:logging_network_change_observer.cc(108)] Observed a network change to state CONNECTION_UNKNOWN
       [0423/102137.319499:VERBOSE1:logging_network_change_observer.cc(85)] Observed a change to the network IP addresses
      ```

In both situation chromium takes 100% of a cpu thread

What is the expected behavior?
chromium could save a pdf file for me

What went wrong?
it freeze somewhere when printing the page

Did this work before? N/A 

Chrome version: 65.0.3325.181  Channel: stable
OS Version: Ubuntu bionic
Flash Version: None
 
Cc: sindhu.chelamcherla@chromium.org
Components: UI>Browser>PrintPreview
Labels: Triaged-ET M-68 FoundIn-68 Target-68 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on reported version 65.0.3325.181, on latest stable , on latest dev and latest canary 68.0.3404.0 using Mac 10.13.3, Ubuntu 17.10 and Windows 10. 

NOTE: This issue is showing Inconsistent behavior. Sometimes page becomes un-responsive, sometimes tab crash is seen(but no crash id is seen in chrome://crashes) and sometimes Print preview is seen.

As Issue is reproducible from M-60 considering this issue as Non-Regression and marking as Untriaged.
Components: Blink>Layout
Labels: -Pri-2 -M-68 -Target-68 Pri-3
The page is a bit on the large side. Blink is spending a lot of time laying out the page for printing.

Comment 3 by e...@chromium.org, May 18 2018

Status: Available (was: Untriaged)

Sign in to add a comment