New issue
Advanced search Search tips

Issue 660024 link

Starred by 4 users

Issue metadata

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



Sign in to add a comment

Print is blurry when printing multiple canvas elements

Reported by bartekko...@gmail.com, Oct 27 2016

Issue description

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

Steps to reproduce the problem:
1. Go to https://bkozera.github.io/printIssue.html (or create a html page with many canvas elements - in my example it's 60 canvas elements, size 1000 x 1000)
2. Open print dialog (File-> Print or ctrl/cmd + P)
3. When viewing the preview scroll to page 52 or more (or print page as PDF and scroll to page 52)

What is the expected behavior?
Text should not be blurry (just like on pages 1-51)

What went wrong?
Text is blurry but only starting from certain page.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 54.0.2840.71  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 23.0 r0

It's not only about text, the whole canvas element is being printed blurry . I suspect there might be some limit of canvas elements displayed on the page with a certain size.
 
printIssue.html
1.1 KB View Download
printIssue.png
444 KB View Download

Comment 1 Deleted

I think should be in component:Internals>GPU>Canvas2D not Blink>Canvas - my mistake.

Also: I was able to reproduce this on Windows using same Chrome version. There's no such issue in Firefox. 
Components: Internals>GPU>Canvas2D Internals>Printing
Labels: OS-Windows
Status: Untriaged (was: Unconfirmed)
Reproduced using Chrome 54 on Windows 7.
Cc: junov@chromium.org
Labels: OS-Chrome OS-Linux
Reproducible on Linux as well.

On Linux, with earlier builds, the behavior is as follows:
350000 - webpage does not even display, print preview is 1 page and blank
370000 - webpage displays, but the first page is blurry in print preview
400000 - same as 370000
420000 - first page in print preview is no longer blurry

Between [400000, 420000], we find the behavior change happened here: https://chromium.googlesource.com/chromium/src/+log/697e6fc2d3a21124b983953086d525576fdf15f5..7570c47baec364f3e0901d139e0fd1d74c00d6e2 -> r412920 -> +junov to help triage.
Cc: halcanary@chromium.org
halcanary@: could you also help take a look?

Comment 6 Deleted

Comment 7 Deleted

Comment 8 Deleted

Owner: xidac...@chromium.org
Status: Assigned (was: Untriaged)
Will investigate.
Owner: ----
Status: Available (was: Assigned)
Project Member

Comment 12 by sheriffbot@chromium.org, Nov 29 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Owner: xlai@chromium.org
Status: Assigned (was: Untriaged)

Comment 14 by xlai@chromium.org, May 4 2018

Labels: -OS-Mac
Testing this on Mac for Chrome 66.0.3359.139. It is not reproducible. Will test on Win/Linux later.

Comment 15 by xlai@chromium.org, May 7 2018

Status: Fixed (was: Assigned)
This bug is also not reproducible for Chrome 66.0.3359.139 in Linux and Chrome 66.0.3359.139 on win 10. Marking it as fixed now and please revive it if it's incorrect.
Status: Assigned (was: Fixed)
xlai: It's still blurry on Linux here.

Comment 17 by xlai@chromium.org, May 7 2018

Owner: ----
Status: Available (was: Assigned)
thestig@: what is your chrome version when you test it? Maybe you need to update Chrome.

I tried again and am still unable to reproduce it on Linux for 66.0.3359.139. I'm attaching the screenshots as proof:
1) Page 1 and Page 58 of the print review does not show obvious difference in terms of rendering quality, unlike what's claimed in the requirement.
2) Page 58 of the print review does not show obvious difference with Firefox's print review in terms of rendering quality.

I'm putting this issue to Available as the Chrome printing team might have some ideas on what to do with it.
print_blurry_page1.png
1.3 MB View Download
print_blurry_page58.png
1.5 MB View Download
firefox.png
903 KB View Download
I tested the same version of Chrome. On Firefox ESR 52, with Scale set to 100%, this is what it looks like. The text is much more crisp than what you have in your screenshots. What's version of FF (+ print scaling) are you comparing against?

ff.png
39.0 KB View Download
This issue is no longer of interest to me. I am ok with this being closed.
Cc: fmalita@chromium.org
+familta FYI. Do we know if this is related to  bug 481429 ? The original bug reporter is no longer interested in this bug, but I'm wondering if you are.
Cc: -junov@chromium.org

Sign in to add a comment