Issue metadata
Sign in to add a comment
|
[Tab loading animation] Tab-loading animation renders subpixel misaligned |
||||||||||||||||||||||||
Issue descriptionChrome Version: Canary 72.0.3617.0 OS: macOS 10.14.1 (probably OS=All Device: MacBook AIr Non-Retina What steps will reproduce the problem? (1) Take a look at the left/right of the Tab loading animation What is the expected result? Same fade color. What happens instead? Different fade color. Not sure, if this is only a Non-Retina issue? Unfortunately I have no Retina Device to test it. Thanks Mehmet
,
Nov 21
Sorry, where we moved to rectangular caps = just painting a rectangle.
,
Nov 21
Thanks for the info, pbos@. I downloaded Chromium Snapshot r610194 and it looks now as the attached screenshot. (Only the right side has a light area now - not sure if intended).
,
Nov 21
I believe that's a subpixel alignment issue (we render to x% which might be off pixel), edwardjung@ WDYT? We can get stuck in this state.
,
Nov 22
,
Nov 22
,
Nov 22
,
Nov 22
,
Nov 22
If we can round off to the nearest pixel that would make this feel crisper.
,
Nov 27
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0a00b2365ad012fec23b4479d28ab8d065095532 commit 0a00b2365ad012fec23b4479d28ab8d065095532 Author: Peter Boström <pbos@chromium.org> Date: Tue Nov 27 22:30:34 2018 Align the loading animation to pixel bounds This is done by disabling anti aliasing. As we're painting a single solid rectangle this is equivalent (and probably marginally faster). Bug: chromium:907641 Change-Id: I05dec569b963511ce87f0a24d0f2f443fa0d9889 Reviewed-on: https://chromium-review.googlesource.com/c/1352338 Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#611380} [modify] https://crrev.com/0a00b2365ad012fec23b4479d28ab8d065095532/chrome/browser/ui/views/tabs/tab_icon.cc [modify] https://crrev.com/0a00b2365ad012fec23b4479d28ab8d065095532/ui/gfx/paint_throbber.cc
,
Nov 27
,
Nov 28
Thanks. Looks perfect now on my non-retina device.
,
Nov 28
Thanks! |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by pbos@chromium.org
, Nov 21Status: Duplicate (was: Untriaged)