Extension icon indicating copy to clipboard operation
Extension copied to clipboard

Gif emotes animation reset after its posted again[Bug]

Open Cofic opened this issue 2 years ago • 7 comments

Describe the bug Gif emote animation is reset after the same one is posted in chat. Which means if people keep posting it, it keeps reseting and not progressing at all. Which breaks the point of a gif.

The issue is solely with 7tv, because i tried disabling it, and both ffz and bttv worked fine then. I also noticed that when you zoom in the tab with (ctrl +) theres no problem anymore with the animation reset.

To Reproduce Steps to reproduce the behavior:

  1. Open a stream which has an active chat, where there will be multiple people posting the same gif in quick succession.
  2. See the problem listed above.

Expected behavior Gif emotes should do a full animation even after the same one is posted in chat.

Version: I am using firefox(latest 93.0) and win10(latest). The version where the bug is occuring 2.0.0

Cofic avatar Oct 22 '21 16:10 Cofic

https://github.com/FrankerFaceZ/FrankerFaceZ/issues/985 Has to do how firefox displays animated images, unsure how BTTV does not have this, only 7tv.

jkrakowiak avatar Nov 01 '21 03:11 jkrakowiak

Also see this issue. Like jkra linked, not sure if this is just a bug with firefox that needs more visibility or if this is specific to 7TV

jaondayko avatar Feb 12 '22 15:02 jaondayko

Seems like a Firefox issue, as there's also nothing fancy the 7TV extension does to display images. It is, also, just a standard <img> tag.

I'm sure it would be trivial for Mozilla to fix something like this, however from what I've seen Firefox isn't a very active project and I see bug reports stand there for years without any response, so I wouldn't hold my breath. Would just advise to use a more up to date web browser if possible

AnatoleAM avatar Feb 12 '22 15:02 AnatoleAM

I think a counter-point to that though is similar to the FrankerFaceZ note on it, BTV has no issue with this

jaondayko avatar Feb 18 '22 16:02 jaondayko

If someone knows why this happens, or how to reproduce the issue (I have never seen this during my testing with Firefox) I could look into a fix. Or someone could submit a pull request to fix it, but until then I don't have a solution

AnatoleAM avatar Feb 18 '22 16:02 AnatoleAM

I'll look further into it to see if I can find a way to reproduce it accurately, so far it has been just look at any channel with a lot of people chatting/using gif emotes and it happens

jaondayko avatar Feb 23 '22 01:02 jaondayko

I'm looking forward to what you guys find. I refuse to use a chromium browser :) I've been looking for a fix for a while now (ever since I opened the issue on FFZ) and the only thing I could find was that zooming in fixed the problem, but then the rest of chat looks too big.

csrapr avatar Mar 02 '22 19:03 csrapr

This happens in erobb's chat a lot, especially with the "LMAOOOOOOOOOO" emote (https://7tv.app/emotes/61e89f42699aab943eab83c3).

jakethewake avatar Jan 01 '23 15:01 jakethewake

Yeah, I was looking into this, it appears that using srcset instead of src for loading a gif/image/whatever will cause it to appear correctly w/o reloading the image. If you set it to just src, it will cause it to "restart" the image every time it is added into the page

jaondayko avatar Jan 01 '23 15:01 jaondayko

Using the latest beta version of 7TV on Firefox (v3 beta) seems to have fixed the issue.

jaondayko avatar Feb 14 '23 22:02 jaondayko