Open Bug 1718366 Opened 5 years ago Updated 8 days ago

Slight flicker when switching between images on Smugmug

Categories

(Web Compatibility :: Site Reports, defect, P3)

x86_64
Windows 10

Tracking

(Webcompat Priority:P3, Webcompat Score:1, firefox91 affected, firefox92 affected, firefox93 affected, firefox94 affected, firefox95 affected, firefox96 affected, firefox97 affected, firefox98 affected, firefox99 affected)

ASSIGNED
Webcompat Priority P3
Webcompat Score 1
Tracking Status
firefox91 --- affected
firefox92 --- affected
firefox93 --- affected
firefox94 --- affected
firefox95 --- affected
firefox96 --- affected
firefox97 --- affected
firefox98 --- affected
firefox99 --- affected

People

(Reporter: 1justinpeter, Assigned: twisniewski)

References

(Depends on 2 open bugs, )

Details

(4 keywords)

User Story

platform:windows,mac,linux,android
impact:minor-visual
configuration:general
affects:all
branch:release
user-impact-score:0.2

Attachments

(2 files)

Attached file about:support

(Not entirely sure which component to put this in - feel free to move it if I'm wrong.)

In a Smugmug gallery, switching between images in a gallery shows a brief flicker of white (or whatever the background color is) before displaying the next image.

(NB: the page linked below is not the same one I initially observed this issue on, but one linked from the main Smugmug website for privacy reasons. The issue exhibited is the same.)

STR:

  1. Go to https://cmac.smugmug.com/Photography/The-mushrooms-of-my-front-yard/i-p48rkFM/A and wait a second or two for the page to load
  2. Use the right arrow key to move to the next image
  3. Notice a flicker of white before the next image displays

This does not reproduce in Edge. It is also not a network issue, as Smugmug appears to load the next image ahead of time. Interestingly (perhaps), after going forward going back to the previous image and going forward again displays no flicker (you can navigate between the last few images you viewed smoothly).

This occurs on the latest nightly. About:support is attached, I will take and put a profile in the next comment.

Doesn't happen in Chrome, and I can reproduce in Nightly.

Blocks: gfx-triage
Status: UNCONFIRMED → NEW
Component: General → Graphics
Ever confirmed: true

Looks like they just insert the img into the dom, the site could use decoding="sync" or image.decode to avoid this.

Severity: -- → S4
Priority: -- → P4

Emilio, any ideas here? We seem to be handling this worse than Chrome.

No longer blocks: gfx-triage
Flags: needinfo?(emilio)

As Tim said, we decode images async by default, but provide ways for authors to override this behavior. If the page used decoding=sync we should behave just like Chrome...

If we don't want to do outreach, we might want to do something like sync-decoding iff the image is "big enough" and in the viewport, or something like that? But it'd mostly be an heuristic.

Flags: needinfo?(emilio)

I emailed their support a couple weeks ago and they said they had reproduced the issue and were looking into it (although I haven't heard back since); I'll post any updates on this bug.

I have followed up with the website again; there does not seem to have been any change.

I'm not sure if it's the same root cause, but I noticed today that the same thing happens (but with a black flicker) when looking through an album on Facebook. (I can't think of any good pages off the top of my head that I'm comfortable linking to publicly, but basically click on a picture in any post with several pictures and click the right arrow key; it's the same steps as the first post.)

Flags: needinfo?(jmathies)

By default, Firefox decodes images asynchronously; Chromium does not. Smugmug could be depending on engine-specific behavior. Smugmug can use the decoding attribute to control this behavior.

Webcompat Priority: --- → ?
Severity: S4 → S3
Flags: needinfo?(jmathies)
Priority: P4 → P3

ni? myself for outreach there.

Webcompat Priority: ? → P3
Flags: needinfo?(dschubert)

I've sent an email to a contact I think I still have.

Severity: S3 → S4
User Story: (updated)
Component: Graphics → Site Reports
Depends on: 1904327
Flags: needinfo?(dschubert)
Product: Core → Web Compatibility
Version: Firefox 91 → unspecified
Webcompat Score: --- → 1
No longer blocks: 1801052
Depends on: 1801052
Keywords: leave-open
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by twisniewski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3ccf0d0d9f9d https://hg.mozilla.org/integration/autoland/rev/bf26cc53802a add a CSS webcompat intervention for smugmug.com to prevent image flickering; r=ksenia,webcompat-reviewers
User Story: (updated)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: