Bug 493335 - Emoji Bug in KDE Notifications Caused by QT, Present Since 2019
Summary: Emoji Bug in KDE Notifications Caused by QT, Present Since 2019
Status: CLOSED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Other
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-18 19:07 UTC by musicalstrength27
Modified: 2024-09-18 19:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Picture showing the bug (45.00 KB, image/jpeg)
2024-09-18 19:07 UTC, musicalstrength27
Details

Note You need to log in before you can comment on or make changes to this bug.
Description musicalstrength27 2024-09-18 19:07:26 UTC
Created attachment 173841 [details]
Picture showing the bug

Hi. The bug I'm referring to has been present since at least 2019 in every linux distribution with KDE. It concerns the correct display of colored emojis. This is a Qt bug that still hasn't been fixed. For example, when I receive messages with colored emojis via Discord, and a notification pops up, one emoji is colored while the rest are white without a background. It looks strange and off-putting to me. This should be fixed. I'm attaching an image of how it looks.

You can temporarily fix this by typing sudo nano ~/.config/fontconfig/fonts.conf and pasting and save this content there:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <alias>
  <family>serif</family>
  <prefer>
   <family>Noto Sans</family>
   <family>Noto Color Emoji</family>
  </prefer>
 </alias>
 <alias>
  <family>sans-serif</family>
  <prefer>
   <family>Noto Sans</family>
   <family>Noto Color Emoji</family>
  </prefer>
 </alias>
 <alias>
  <family>monospace</family>
  <prefer>
   <family>Noto Sans</family>
   <family>Noto Color Emoji</family>
  </prefer>
 </alias>
 <dir>~/.fonts</dir>
 <match target="font">
  <edit name="hinting" mode="assign">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit name="hintstyle" mode="assign">
   <const>hintslight</const>
  </edit>
 </match>
</fontconfig>

Here is the link to the page where this bug was reported:
https://bugreports.qt.io/browse/QTBUG-80434

Please fix it, I believe that once it's resolved, everyone, including me, will be happy :-)
Comment 1 Nate Graham 2024-09-18 19:15:24 UTC
Qt bugs are tracked on the Qt bug tracker, as you've discovered. Opening another one here to tell us to go fix it is not an appropriate use of the KDE bug tracker, sorry.