Closed Bug 1383537 Opened 3 years ago Closed 3 years ago

Sometimes images suddenly turn blank

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect, P3)

All
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1380649

People

(Reporter: mstange, Unassigned)

Details

(Keywords: regression, steps-wanted)

Attachments

(2 files)

Attached image github screenshot
I've seen this twice with the 2017-07-20 nightly on Mac.

In a place where there was an image before, suddenly there was just transparency.

The first time I saw this was on Twitter, at https://twitter.com/anatudor/status/888690391695884288 . The two large images inside that tweet were suddenly gone, and not only that, but they left a transparent hole in the tweet overlay. I was able to scroll the rest of my twitter timeline underneath, and see it through the holes left by the images.
I think this indicates that Layout thought that the images were opaque.

The second time I've seen it was on github, where all the user icons suddenly turned black. This happened as I was waking the machine from sleep: The first second, there were user icons in the right places, and then suddenly they were gone. I've attached a screenshot.
In the github case, if I inspect the img element with the devtools and then hover over the src attribute value, it shows me a preview of a completely blank image (it shows the transparency checkerboarding pattern). But if I load the URL of that image in a new tab, the image shows up correctly. A refresh of the page also fixed the issue.
(In reply to Markus Stange [:mstange] from comment #0)
> The second time I've seen it was on github, where all the user icons
> suddenly turned black. This happened as I was waking the machine from sleep:
> The first second, there were user icons in the right places, and then
> suddenly they were gone. I've attached a screenshot.
> In the github case, if I inspect the img element with the devtools and then
> hover over the src attribute value, it shows me a preview of a completely
> blank image (it shows the transparency checkerboarding pattern). But if I
> load the URL of that image in a new tab, the image shows up correctly. A
> refresh of the page also fixed the issue.

Hm, this sounds similar to bug 1380649. Clearly there is a problem related to sleep/resume.
Priority: -- → P3
I am seeing this frequently (multiple times a day), even without sleep/resume. For me, the trigger appears to be switching away from a tab and then switching back. The probability of the problem surfacing appears to be significantly higher if the page has many images on it. I can reproduce it pretty reliably by surfing around Flickr albums in one tab and CNN news stories in another, switching back and forth occasionally.
I believe this is fixed in the latest nightly by bug 1380649.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1380649
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.