Slight flicker when switching between images on Smugmug
Categories
(Web Compatibility :: Site Reports, defect, P3)
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)
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)
|
30.71 KB,
text/plain
|
Details | |
|
Bug 1718366 - add a CSS webcompat intervention for smugmug.com to prevent image flickering; r?ksenia
48 bytes,
text/x-phabricator-request
|
Details | Review |
(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:
- 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
- Use the right arrow key to move to the next image
- 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.
| Reporter | ||
Comment 1•5 years ago
|
||
Profile: https://share.firefox.dev/3A282ic
Comment 2•5 years ago
|
||
Doesn't happen in Chrome, and I can reproduce in Nightly.
Comment 3•5 years ago
|
||
Looks like they just insert the img into the dom, the site could use decoding="sync" or image.decode to avoid this.
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Emilio, any ideas here? We seem to be handling this worse than Chrome.
Comment 5•5 years ago
|
||
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.
| Reporter | ||
Updated•5 years ago
|
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Comment 6•4 years ago
|
||
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.
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Comment 7•4 years ago
|
||
I have followed up with the website again; there does not seem to have been any change.
| Reporter | ||
Comment 8•3 years ago
|
||
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.)
Comment 9•3 years ago
|
||
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.
Updated•3 years ago
|
Comment 10•3 years ago
|
||
ni? myself for outreach there.
Comment 11•2 years ago
|
||
I've sent an email to a contact I think I still have.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•12 days ago
|
| Assignee | ||
Comment 12•11 days ago
|
||
Updated•11 days ago
|
Comment 13•11 days ago
|
||
Comment 14•9 days ago
|
||
| bugherder | ||
| Assignee | ||
Updated•9 days ago
|
Updated•8 days ago
|
Description
•