New issue
Advanced search Search tips

Issue 608874 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Animation that changes element size but not background scale jitters

Project Member Reported by schenney@chromium.org, May 3 2016

Issue description

Version: m51 and on
OS: All

What steps will reproduce the problem?
(1) Go to http://www.vox.com/2015/5/14/8605917/highways-interstate-cities-history and look at one of the "slide to reveal then and now" panes
(2) Note the jitter as the slider moves

What is the expected output?
Stable appearance of the image as the size changes but the scale remains the same

What do you see instead?
Pixels from the source seem to move around in the destination as the size changes, even though the mapping from source to dest should be completely

This bug is forked from https://bugs.chromium.org/p/chromium/issues/detail?id=585741
The test case from that example is attached here.

Off-bug discussion suggests the following fix:
- Change the image cache to enable searching for a given image, at a given scale
- When looking for an image, look for bigger images at the same scale that contain the requested image. If found, just subset that image.
- If a smaller image is found, and the source contains it, increase the size of the resampled image in the cache

An alternate approach is to detect potential animation and set the filter quality to low.
 
cr585741.html
1.8 KB View Download
vertical-screen-800x700.png
1.5 KB View Download
Cc: fmalita@chromium.org vmp...@chromium.org
Status: WontFix (was: Assigned)
This appears much better now, I think due to fmalita@'s change to paint the image directly when it covers the entire background.

We probably still go wrong in some cases involving repeat images, but they are less important.

Sign in to add a comment