Page MenuHomePhabricator

Opaque images in the gallery show flickers of white background while zooming out
Closed, ResolvedPublic

Description

Steps to reproduce

  1. Go to en.wikipedia.org "Yosemite National Park"
  2. Tap lead image
  3. Wait for high-res version to download
  4. Zoom all the way in
  5. Pinch to zoom all the way back out

Expected results

Image zooms in & out w/o showing white flickers around the border

Actual results

White background flickers around the edges of the image

Dev Notes

We use a white background on the image to handle cases where the image has an alpha component (see Water / Chemical and Physical Properties / "Model of hydrogen bonds"). We need to attempt to detect when an image is opaque so we can hide the background and prevent flickering.

Event Timeline

BGerstle-WMF raised the priority of this task from to Needs Triage.
BGerstle-WMF updated the task description. (Show Details)
BGerstle-WMF subscribed.
BGerstle-WMF renamed this task from Opaque images in the gallery show flickers of what background while zooming out to Opaque images in the gallery show flickers of white background while zooming out.Jul 1 2015, 2:06 PM
BGerstle-WMF set Security to None.

Checked with 5.0.0.540 on iPad mini iOS 8.2

  • zooming in/out goes smoothly
  • when zooming in/out there are no white borders or flickering