Bug 473107

Summary: Emojis displayed within the text are rendered with the system font while emojis in the picker are not.
Product: [Applications] NeoChat Reporter: Gerion <gik-kbugs>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED UPSTREAM    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 23.04.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gerion 2023-08-07 12:27:33 UTC
SUMMARY
NeoChat seems to render emojis in the different way. On my installation it is the case, that I am perfectly able to choose the emoji from the emoji picker, but as soon it is embedded in the text field or some other contact sends me an emoji, it looks either completely different or is not displayed at all (just a square box).

It seems that the emojis displayed within the text fields are coming from the installed font, while the emojis in the color picker are not.

STEPS TO REPRODUCE
1. Choose some emoji in the emoji picker of NeoChat and click on it.

OBSERVED RESULT
The exact same symbol is shown in the text field.

EXPECTED RESULT
The emoji in a different font is displayed or just a square box.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo on Linux 6.4.6
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Comment 1 Tobias Fella 2023-08-13 19:21:42 UTC
This is https://bugreports.qt.io/browse/QTBUG-85744

You can work around it by copying https://invent.kde.org/network/neochat/-/blob/master/cmake/Flatpak/99-noto-mono-color-emoji.conf to ~/.config/fontconfig/conf.d