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

Issue 741836 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Circle Not Perfectly Rendered in Different Zoom Levels

Reported by me.aasan...@gmail.com, Jul 12 2017

Issue description

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

Steps to reproduce the problem:
1. Open the attached html file in chrome or run this fiddle:  https://jsfiddle.net/AASanch/vjopLw3b/

In it is an SVG with an Ellipse that's configured as a perfect circle (width == height).

2. Change browser zoom levels using Ctrl+MouseWheel.  Notice that on certain zoom levels, the circle is being rendered perfectly.

What is the expected behavior?
Circle to be rendered perfectly.

What went wrong?
Circle wasn't being rendered perfectly on certain zoom levels.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 59.0.3071.115  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 25.0 r0
 
imperfect_circle.html
721 bytes View Download
circle_issue.png
7.0 KB View Download
Step #2 above shoudl read "Notice that on certain zoom levels, the circle is *not* being rendered perfectly".

Comment 2 by f...@opera.com, Jul 12 2017

Components: Internals>Skia
Could you check if the error persists if you disable GPU/hardware acceleration - and/or provide a copy of the chrome://gpu page?
Yes, it still happens when GPU is disabled.

See attached for my chrome://gpu page.
gpu.htm
50.0 KB View Download
Cc: brajkumar@chromium.org
Labels: -Type-Bug hasbisect-per-revision M-61 OS-Linux Type-Bug-Regression
Owner: fmalita@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce on Windows 10 and Ubuntu 14.04 using chrome latest stable #59.0.3071.115 by following steps mentioned in the original comment. Observed the circle is not perfect after zoom out to 25%. This issue is not observed on Mac OS 10.12.5.

Bisect Information:
--------------------
Good build: 51.0.2695.0 
Bad Build : 51.0.2697.0 

Change Log URL: 
https://chromium.googlesource.com/chromium/src/+log/abe9edfd9bd81b2a3bea192c4d0795ec9c84065f..7dad4b118fe1debab178df8df629bde20b5233fa

From the above change log suspecting below change
Review URL: https://codereview.chromium.org/1847983002

fmalita@ - Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner.

Cc: f...@opera.com
Components: -Internals>Skia
Labels: -OS-Linux -OS-Windows OS-All
Status: Fixed (was: Assigned)
Thanks for the accurate bisect, it does look like the issue was introduced in https://codereview.chromium.org/1847983002.

But it appears to be fixed in ToT.  I've bisected the fix and ended up with

You are probably looking for a change made after 468511 (known bad), but no later than 468516 (first known good).
CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/0079dbad35b7fb64939a1c5ddc992084cc5001b1..098430b33423191b06dc32f13de764076cf60394

I'm guessing the fix is https://codereview.chromium.org/2847873002, already in m60.

I tested this in Version 61.0.3156.0 (Official Build) canary (64-bit).  It does render the circle perfectly now.  Thanks!

However, I observed that on certain zoom levels, the circle in my fiddle (which has a rotation animation applied to it) moves around when it shouldn't.  Here's a gif that illustrates the issue:  http://imgur.com/0MEPSHY.

It may or may not be related to the original bug I reported but I just thought I'd let y'all know.
Yeah, I noticed the circle moving around too, but assumed that's expected :)

If it's not, I suggest you open a separate issue.  I don't think it's the same root cause: while bisecting, I saw the movement started at some later revision.

Sign in to add a comment