Element-web: Animate avatars on hover

Created on 4 Jan 2018  路  5Comments  路  Source: vector-im/element-web

Like Discord

feature p3 avatar

All 5 comments

"On the discord desktop program, when you hover over a users message, if their avatar is a gif, it will play."

https://matrix.to/#/!DgvjtOljKujDBrxyHk:matrix.org/$15151283293464906msfqu:matrix.org

Can the client be made more efficient as far as processor utilization goes instead of adding features that are of no real use and only slow things down?

@specing this is just a feature request from someone, not a guarantee it'll be implemented tomorrow. Performance is an ongoing battle.

This is the most useful feature.
If one finds it less useful then that doesn't mean that others find it useless too.

turt2live : Thank you for acknowledging such an useful feature. :)

As a point of information: riot uses server-side thumbnails to render the avatars and relies on those. Due to a bug in the media repo project I'm working on, it didn't thumbnail gifs and instead returned the source gif, causing riot to play the image.

animated avatars

So in reality this is probably a lot easier than it seems: Synapse could be made to resize the gif (through a fourth query param or automatically) and riot just needs to allow the image to play on hover (to avoid the screenshot I've posted here).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

niedzielski picture niedzielski  路  3Comments

anoadragon453 picture anoadragon453  路  3Comments

bagage picture bagage  路  3Comments

turt2live picture turt2live  路  3Comments

lukebarnard1 picture lukebarnard1  路  3Comments