Bug 477462

Summary: Only symbolic black and white emojis after a system update.
Product: [Plasma] plasmashell Reporter: David REVOY <info>
Component: Emoji SelectorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.27.8   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: ^ video screenrecording of the bug (mp4, 334Kb)

Description David REVOY 2023-11-24 12:43:28 UTC
Created attachment 163428 [details]
^ video screenrecording of the bug (mp4, 334Kb)

Hi,
After a system update* my emojis on plasma-emojier turned all as symbolic black and white icons (see videos in attachement). The selection of emojis for my discussions is very difficult since this bug. 

Fedora 38 KDE
v 5.27.8
X11 session

*: A month ago, on Fedora 38 KDE. I waited a month in case it was an obvious issue that would be solved by a later quick update but no.
Comment 1 David REVOY 2023-11-27 22:34:22 UTC
Hi, 
I could workaround the situation with the actions here:
https://invent.kde.org/-/snippets/2230#no-colored-emojis-on-konversation-or-kate

In case the link breaks in the future, I copy here the info:
This solved the issue:

$ sudo dnf install google-noto-emoji-color-fonts

Then edit the file /etc/fonts/conf.d/51-local.conf as sudo that setup the fonts and add this between the <fontconfig> and </fontconfig> tag:

	<alias>
	   <family>sans-serif</family>
	   <prefer>
	     <family>Noto Sans</family>
	     <family>Noto Color Emoji</family>
	     <family>Noto Emoji</family>
	     <family>DejaVu Sans</family>
	   </prefer> 
	 </alias>

	 <alias>
	   <family>serif</family>
	   <prefer>
	     <family>Noto Serif</family>
	     <family>Noto Color Emoji</family>
	     <family>Noto Emoji</family>
	     <family>DejaVu Serif</family>
	   </prefer>
	 </alias>

	 <alias>
	  <family>monospace</family>
	  <prefer>
	    <family>Noto Mono</family>
	    <family>Noto Color Emoji</family>
	    <family>Noto Emoji</family>
	    <family>DejaVu Sans Mono</family>
	   </prefer>
	 </alias>

Close, and launch this to refresh the font cache:

$ fc-cache

I'm closing the bug as resolved as it is probably a local install issue (if it was wide spread, probably other would have complained about it).