Bug 481459

Summary: Emojis are not shown correctly in the copy pop-up
Product: [Plasma] plasmashell Reporter: Iyán M. V. <me>
Component: Emoji SelectorAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: fanzhuyifan
Priority: NOR Keywords: qt6
Version First Reported In: 5.93.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Emoji is shown in a text black and white version
Emoji is shown as an empty box

Description Iyán M. V. 2024-02-17 11:41:46 UTC
SUMMARY
When an emoji is clicked in the Emoji Selector app, a small pop-up on the bottom appears saying that the emoji was copied to the clipboard. This pop-up does not show most emojis correctly because they are rendered with a font that does not support all the emojis available in the Emoji Selector.


STEPS TO REPRODUCE
1. Open Emoji Selector
2. Select a few different emojis

OBSERVED RESULT
Some emojis are shown in the pop-up in a text-only black and white version. When there is no such version, an empty box appears instead.

EXPECTED RESULT
Either remove the emoji from the pop-up notification and just say "Emoji copied to the clipboard" or render the full color emoji correctly.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: LENOVO
Product Name: 20XYCTO1WW
System Version: ThinkPad X1 Yoga Gen 6
Comment 1 Iyán M. V. 2024-02-17 11:43:21 UTC
Created attachment 165892 [details]
Emoji is shown in a text black and white version
Comment 2 Iyán M. V. 2024-02-17 11:43:35 UTC
Created attachment 165893 [details]
Emoji is shown as an empty box
Comment 3 Iyán M. V. 2024-02-17 11:45:09 UTC
This is a similar issue to what I described in https://bugs.kde.org/show_bug.cgi?id=481211 affecting Konsole. Perhaps the fix there can help here as well?
Comment 4 fanzhuyifan 2024-02-17 17:22:19 UTC
Can confirm
Comment 5 fanzhuyifan 2024-02-17 18:20:58 UTC
I think this is a downstream fontconfig configuration problem.

E.g., see https://gist.github.com/IgnoredAmbience/7c99b6cf9a8b73c9312a71d1209d9bbb
Comment 6 fanzhuyifan 2024-02-17 18:24:27 UTC
(In reply to fanzhuyifan from comment #5)
> I think this is a downstream fontconfig configuration problem.
> 
> E.g., see
> https://gist.github.com/IgnoredAmbience/7c99b6cf9a8b73c9312a71d1209d9bbb

Sorry this fixes the issue for me: https://aur.archlinux.org/packages/noto-color-emoji-fontconfig-no-binding