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

Issue 809428 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Drawing overlapping images on canvas, using HiDPI screens, produces visual artifacts

Reported by vscfre...@gmail.com, Feb 6 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0

Example URL:
https://codepen.io/anon/pen/oEzNRQ

Steps to reproduce the problem:
1. Open Chrome on Windows on a HiDPI screen (tested on 200% scale)
2. Alternatively, open Chrome on normal DPI screen with "--force-device-scale-factor=2" command line option
3. Open https://codepen.io/anon/pen/oEzNRQ
4. Click on "Draw Images" button
2. Click 
3. 

What is the expected behavior?
Image is drawn repeatedly on canvas without any artifact. Image is the letter "b" with a black bar on the right. The black bar should be overwritten by the next drawn image.

What went wrong?
1-pixel wide vertical artifacts appear between drawn images.

This also occurs if images overlap vertically (1-pixel high horizontal artifact in that case).

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: Version 66.0.3341.0 (Official Build) canary (64-bit)  Channel: canary
OS Version: 10.0
Flash Version: 

From time to time, if a cursor is passed over the images or if other page areas are selected, the canvas refreshes and the artifacts disappear.

These artifacts do not appear on a regular screen which is not scaled.

Also, this behaviour does not occur in other browsers (tested with Microsoft Edge and Firefox). It doesn't appear to occur on other operating systems (Chrome on Linux and Chrome on OS X), although further testing should be performed.
 
Sorry for the mangled list of steps to reproduce.

Also including screenshot of the artifacts (1-pixel wide vertical bars between letters).

This bug was detected while using Apache Guacamole, and originated on one of its bugs (lead developer correctly attributed the bug as Chrome origin):

https://issues.apache.org/jira/browse/GUACAMOLE-498
screenshot.png
895 bytes View Download
Components: -Blink Blink>Canvas
Labels: Needs-Triage-M66
Cc: sc00335...@techmahindra.com
Labels: Triaged-ET M-66 FoundIn-66 Target-66
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on reported version 66.0.3341.0 canary on Windows 10 with given URL when devicepixelratio is 2 or 1.75. Issue is not seen in Mac 10.13.3 and Ubuntu 14.04 even on changing scale factor.

This issue is seen from M60. Hence considering this issue as Non-Regression and marking as Untriaged.

Thanks!

Comment 5 by junov@chromium.org, Feb 7 2018

Status: Available (was: Untriaged)

Sign in to add a comment