Mattermost-server: Custom emojis that are scaled down look awful

Created on 22 Oct 2019  路  11Comments  路  Source: mattermost/mattermost-server

Summary

Emojis are not scaled down properly resulting in severe quality drop as compared with other solutions

Steps to reproduce

Add this custom emoji https://i.imgur.com/j4RuUHv.png and use it, it will look awful, try the same in Slack, it will look great, here are the screenshots how it looks:
in mattermost: https://i.imgur.com/OSnsJ4z.png
in slack: https://i.imgur.com/Swj6ScS.png
It happens in linux client as well as in browser (chrome, newest stable)

Expected behaviors

I would expect the emojis to be resized properly

Observed behavior (that appears unintentional)

Instead, the emojis are resized with awful filtering

Possible fixes

I don't know how to fix it, probably use normal scaling method that electron exposes because nothing ever had this problem

Bug ReporOpen

All 11 comments

Hi @toojazzy, did you follow these steps to add the custom emoji: https://docs.mattermost.com/help/settings/custom-emoji.html? What Mattermost server version are you on?

I followed this method that you posted, the server version is 5.16.0 and client version is 4.3.0, its self hosted, same behavior is happening in the browser as well, I also upload the exact same image I used to make the emote
monkas

@toojazzy Do you see this on Linux only or also other devices?

@amyblais It happens on Linux desktop client and on Chrome which is platform independent. My resolution is 1920x1080, on macs retina it looks ok because of the higher DPI.

@toojazzy Would you be open to testing if you see the same issue on our community server. I wasn't able to reproduce this on Mac, Chrome so far.

As I wrote it will not be happening on Macs because it has higher resolution, try it on full HD display, 1920x1080

@toojazzy I don't have a HD display available, that is why I asked if you'd be open to do a quick test on our community server. I'll ask our team if somebody can help test this.

I can reproduce this on my server, version 5.17, Linux desktop client (Fedora), on both my 1440p display as well as my 1080p display.

It was not resolved and was marked as Cannot reproduce, why? It is clearly reproducible on non retina displays. Are you serious about issues being sent to you?

Thanks for letting me know. I've reopened the ticket and sent it back to UX triage to see if it can be further investigated or opened as a Help Wanted issue.

Was this page helpful?
0 / 5 - 0 ratings