Image flash when current source changes
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | wontfix |
firefox-esr60 | --- | wontfix |
firefox55 | --- | wontfix |
firefox56 | --- | wontfix |
firefox57 | --- | wontfix |
firefox58 | --- | wontfix |
firefox59 | --- | wontfix |
firefox61 | --- | wontfix |
firefox62 | --- | wontfix |
firefox63 | --- | wontfix |
firefox64 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | wontfix |
firefox68 | --- | fixed |
People
(Reporter: oliverjash, Assigned: emilio)
References
Details
(Keywords: regression, testcase, Whiteboard: [webcompat] [geckoview:klar:p2][layout:backlog:2019q1])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 9•6 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #7)
Bug 1253995 looks related. Probably we're clearing mPrevImage too early, or
something like that...
The reason this happens is because each time we change the load state we reframe the image, loosing the previous image of course:
Assignee | ||
Comment 11•6 years ago
|
||
There are two parts for this fix.
The first one is trivial, and consists on not reframing the image when the
loading state changes. Bug 1472637 makes the decision of whether to construct an
image frame not depend on this, so this is sound.
We need to avoid reframing because otherwise we lose track of the previously
painted image.
The second part is not clearing mPrevImage if our intrinsic size changes.
This is needed if we want to handle cases like the reporter's example or Google
Images. Rendering the old image upscaled is much better than not rendering
anything while it's loading.
I added a test for the reframing bit, but I don't know how to add a test for the
second bit.
Updated•6 years ago
|
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3f1e9dae2467
https://hg.mozilla.org/mozilla-central/rev/fdc7b66d76a4
Updated•6 years ago
|
Comment 14•6 years ago
|
||
We have shipped multiple releases with this bug, let's make the fix the trains, marking 67 as wontfix.
Assignee | ||
Updated•5 years ago
|
Description
•