oxen-io / session-desktop

Session Desktop - Onion routing based messenger
https://getsession.org
GNU General Public License v3.0
1.43k stars 186 forks source link

[BUG] .gif animation in chat #2968

Open keybreak opened 8 months ago

keybreak commented 8 months ago

Code of conduct

Self-training on how to write a bug report

Is there an existing issue for this?

Current Behavior

.gif file sent to Session chat doesn't animate on desktop

Expected Behavior

.gif file sent to Session chat should be animated and auto-played on desktop, like it does on Android

Steps To Reproduce

No response

Desktop Version

v1.11.4

Anything else?

Arch Linux, AUR

KeeJef commented 7 months ago

This one seems strange, could be a good first issue to investigate why this is occurring as GIFs should render as animated

keybreak commented 7 months ago

@KeeJef Yeah that's pretty weird, btw it animates in context of same gifs opened in lightbox, so it's only chat

burtonemily commented 7 months ago

@KeeJef Took a look at this issue and seems to be a more complex issue than just enabling autoPlay for GIF message types. We're currently generating a random src, so in context we can't tell what type of image the media is, without knowing, I can't set a condition for autoplay to be enabled (or to disabled the disabling of autoplay). Probably going to take longer than just the day that I've assigned to it. (Should probably put this into the backlog for further investigation)