Summary: | Emojis in file names are displayed in black and white or as tofu | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | LaughingMan <lingm+kdebugs> |
Component: | view-engine: general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | fanzhuyifan, kfm-devel, nate, viniciush.dev |
Priority: | NOR | ||
Version: | 24.05.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugreports.qt.io/browse/QTBUG-85744 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Correct display (Nemo, top) and incorrect display (Dolphin, bottom) |
i can confirm dolphin showing the black and white emoji, and Konsole showing the emoji fine(except in the wndows title) Operating System: Fedora Linux 40 KDE Plasma Version: 6.1.3 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 Kernel Version: 6.10.3-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics Memory: 7,1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: LENOVO Product Name: 82MF System Version: IdeaPad 3 15ALC6 Cannot reproduce in dolphin 24.07.80, arch linux. The name of the file 🗺️🗺🤔😈.txt is displayed in color. I think the issue indicates some downstream configuration issues in the local font config -- a font showing the colored emojis need to be installed and correctly configured. (I am using https://aur.archlinux.org/cgit/aur.git/tree/75-noto-color-emoji.conf?h=noto-color-emoji-fontconfig-no-binding) If it was a case of missing or misconfigured font, why do both Nemo and Konsole manage to pick the correct one? (In reply to LaughingMan from comment #3) > If it was a case of missing or misconfigured font, why do both Nemo and > Konsole manage to pick the correct one? yep, how can i share the font configs? btw i tested in a fresh fedora iso and the issue is there, konsole shows emoji file, but dolphin don't (In reply to LaughingMan from comment #3) > If it was a case of missing or misconfigured font, why do both Nemo and > Konsole manage to pick the correct one? Konsole has special handling of emoji fonts, but dolphin does not. For more info on how to set up the font config, I would suggest asking for help in the distro forums, and/or checking out posts online like https://www.reddit.com/r/linuxquestions/comments/dap511/arch_linux_apps_not_displaying_emojis_correctly/ or https://github.com/alacritty/alacritty/issues/3686 (In reply to LaughingMan from comment #3) > If it was a case of missing or misconfigured font, why do both Nemo and > Konsole manage to pick the correct one? btw i fixed that following the ngraham comment here https://pagure.io/fedora-kde/SIG/issue/194 Alright, reading though those links you two posted there appears to be a consensus that fiddling with fontconfig is a hack and people are working on adding proper support to Qt. Dolphin relies on Qt, while Nemo and Konsole are non-Qt applications and thus don't suffer from this bug. I'd call that an upstream and not a downstream problem, but whatever. That's for linking the relevant issues. |
Created attachment 172387 [details] Correct display (Nemo, top) and incorrect display (Dolphin, bottom) As the title says. Uses the expected font in Nemo or Konsole (ls). Window titles (such as from Firefox) are also affected. STEPS TO REPRODUCE 1. Create a file named "🗺️🗺🤔😈.txt" 2. View the folder containing said file with Dolphin OBSERVED RESULT The file name is displayed as "{BLACKNWHITEMAP}{BLACKNWHITEMAP}{TOFU}{BLACKNWHITEDEVIL}.txt" (See attached image) EXPECTED RESULT The file name is displayed as "{COLORMAP}{BLACKNWHITEMAP}{THINKING}{COLORDEVIL}.txt" (See attached image) SOFTWARE/OS VERSIONS Operating System: EndeavourOS KDE Plasma Version: 6.1.3 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2