Open
Bug 1233403
Opened 9 years ago
Updated 2 years ago
Animated GIFs are partially drawn if those are hidden at first
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox42 | --- | unaffected |
firefox43 | + | wontfix |
firefox44 | - | wontfix |
firefox45 | - | wontfix |
firefox46 | - | wontfix |
firefox47 | --- | wontfix |
firefox48 | --- | wontfix |
firefox49 | --- | fix-optional |
firefox-esr38 | --- | unaffected |
firefox-esr45 | --- | wontfix |
firefox50 | --- | fix-optional |
People
(Reporter: github, Assigned: tnikkel)
References
(Depends on 1 open bug, )
Details
(Keywords: dev-doc-complete, regression, site-compat, Whiteboard: gfx-noted)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20151208100201
Steps to reproduce:
I have a website: http://www.h-team.eu/
On the header part there are many gifs stapled all in the same place.
With a little bit of javascript, the latest is changed to "display:none" and the next is "display:inline"
The update time is 6 seconds.
My GIF is actually bigger than my 1000px * 200px
Actual results:
After loading the site the first time, the second gif is displayed only in a part and not the full size.
Expected results:
With Firefox 42 there was no problem. The gif showed everytime full, even after updating to the next image.
Comment 1•9 years ago
|
||
[Tracking Requested - why for this release]: break web layout
I can reproduce on Nightly46.0a1.
https://hg.mozilla.org/mozilla-central/rev/f143af51f6e35932927b8ccac2509facbbe7b539
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 ID:20151217030207
Regression window:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=54d0fc9946067a995cc49326fd3861303cd1f105&tochange=c035b63e1b816877cfdfcedfc7b530e1a0ad4308
Regressed by: Bug 1194059
Blocks: 1194059
Status: UNCONFIRMED → NEW
status-firefox42:
--- → unaffected
status-firefox43:
--- → affected
status-firefox44:
--- → affected
status-firefox45:
--- → affected
status-firefox46:
--- → affected
status-firefox-esr38:
--- → unaffected
tracking-firefox43:
--- → ?
tracking-firefox44:
--- → ?
tracking-firefox45:
--- → ?
tracking-firefox46:
--- → ?
Component: Untriaged → ImageLib
Ever confirmed: true
Flags: needinfo?(seth)
Keywords: regression
So there is a chance that this bug will be patched to Firefox 44? :)
Because every other browser (Internet Explorer, Opera, Chrome) do render the gifs correctly.
Comment 3•9 years ago
|
||
Updated•9 years ago
|
Keywords: dev-doc-needed,
site-compat
Updated•9 years ago
|
Summary: Gifs don't displayed full. → Animated GIFs are partially drawn if those are hidden at first
Comment 4•9 years ago
|
||
Posted the site compatibility doc: https://www.fxsitecompat.com/en-US/docs/2015/animated-gifs-are-drawn-partially-if-hidden-at-first/
Keywords: dev-doc-needed → dev-doc-complete
I just added the right size of the GIFs to my site. So there is no need for downscaling anymore. Without downscaling there are no bugs. The are just displayed full, even if they are hidden like in my case.
So maybe the bug is only if the GIFs are hidden and downscaled. :)
Comment 6•9 years ago
|
||
Recent regression, and it would be good to fix, but I'm not sure we need to track this.
Given that this was a wontfix for FF43 and does not sounds critical enough, marking it as wontfix for FF44 as well.
Updated•9 years ago
|
Updated•9 years ago
|
Whiteboard: gfx-noted
Comment 9•9 years ago
|
||
It looks like we get incorrect size info for these GIFs on first decode.
Updated•9 years ago
|
Assignee: nobody → seth
Flags: needinfo?(bugs)
Updated•9 years ago
|
Comment 10•9 years ago
|
||
So I have two questions here:
(1) I can reproduce flashing during the transition from one GIF to the next, but not a partial display of the GIF - it sounds to me like you're saying that for you, we only draw a small part of the bigger GIF. Is that true, or is the flashing what you're talking about?
(2) Does setting "image.downscale-during-decode.enabled" to false in about:config and then shift-reloading the page fix the problem?
Updated•9 years ago
|
Flags: needinfo?(seth) → needinfo?(github)
Comment 11•9 years ago
|
||
(In reply to Jet Villegas (:jet) from comment #9)
> Created attachment 8730619 [details]
> Image properties on first load (0px x 0px)
>
> It looks like we get incorrect size info for these GIFs on first decode.
Hmm. I kinda suspect that's just a bug in the image properties code, but I'm not sure. Checking in about:memory, the SurfaceCache has the correct values for the size of these GIFs.
Comment 12•9 years ago
|
||
(In reply to Seth Fowler [:seth] [:s2h] from comment #10)
> So I have two questions here:
>
> (1) I can reproduce flashing during the transition from one GIF to the next,
> but not a partial display of the GIF - it sounds to me like you're saying
> that for you, we only draw a small part of the bigger GIF. Is that true, or
> is the flashing what you're talking about?
>
> (2) Does setting "image.downscale-during-decode.enabled" to false in
> about:config and then shift-reloading the page fix the problem?
By the way, if you can it'd be good to test this on Nightly, as we've recently fixed a number of problems that feel kinda similar to me, and it's possible that we "accidentally" fixed this bug already.
Comment 13•9 years ago
|
||
No response from the bug reporter in over a month.
Alice, could you try testing this on the latest Nightly to see if it still reproduces?
Flags: needinfo?(alice0775)
Comment 14•9 years ago
|
||
I can still reproduce the problem with attachment 8699496 [details] on Latest Nightly48.0a1[1].
[1]
https://hg.mozilla.org/mozilla-central/rev/0891f0fa044cba28024849803e170ed7700e01e0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0 ID:20160422030223
Flags: needinfo?(alice0775)
Updated•9 years ago
|
status-firefox47:
--- → affected
status-firefox48:
--- → affected
status-firefox-esr45:
--- → affected
Comment 15•9 years ago
|
||
Thanks for testing, Alice.
Milan, it looks like this is still valid. Who can work on this?
Flags: needinfo?(milan)
Assignee | ||
Comment 16•9 years ago
|
||
I debugged this, I found three different problems, I have patches for two, need to polish my patch for the third.
Assignee: seth → tnikkel
Flags: needinfo?(milan)
Assignee | ||
Comment 17•9 years ago
|
||
Assignee | ||
Comment 18•9 years ago
|
||
I don't think we need any more info from the reporter, we can reproduce this.
Flags: needinfo?(github)
Updated•9 years ago
|
Timothy, once we have all three patches, and this is fixed - is it something that looks reasonable for an aurora uplift?
Updated•9 years ago
|
Flags: needinfo?(tnikkel)
Assignee | ||
Comment 20•9 years ago
|
||
Two of the three parts should be fine for uplift, the third (that we are still waiting on review for) is more involved, I'd like at minimum some bake time before uplift.
Flags: needinfo?(tnikkel)
Comment 21•8 years ago
|
||
Milan, do you have an idea on what we should do here? Thanks
Flags: needinfo?(milan)
Assignee | ||
Comment 22•8 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #21)
> Milan, do you have an idea on what we should do here? Thanks
Yes, he does. Bug 1270999 needs to be fixed.
Flags: needinfo?(milan)
Updated•8 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•