Bug 465223

Summary: Strange behavior when printing emojis in the terminal
Product: [Applications] konsole Reporter: Chico <francisco.cpg>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 22.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A script to echo emojis

Description Chico 2023-02-03 12:16:11 UTC
Created attachment 155914 [details]
A script to echo emojis

SUMMARY

When printing a sequence of emojis characters some of them are hidden.

STEPS TO REPRODUCE
1. Execute the `echo` script I've attached in the `konsole` terminal. 

OBSERVED RESULT

The first line prints only three emojis and the second line prints the one hidden in the first line.

EXPECTED RESULT

The first line should print four emojis and the second line should print one (this is already correct at the moment). I've tested in other terminal apps (terminator 2.1.2 and vscode terminal 1.75.0) and the first line is printing the four emojis in the first line.

SOFTWARE/OS VERSIONS
Linux 6.1.9-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 01 Feb 2023 17:07:37 +0000 x86_64 GNU/Linux
Linux/KDE Plasma: 
KDE Plasma Version:  5.26.5
KDE Frameworks Version:  5.102.0
Qt Version:  5.15.8

ADDITIONAL INFORMATION
Comment 1 Chico 2023-02-03 12:39:42 UTC
I think I understood what's happening. The first two emojis together are in fact only one Unicode point that changes the skin color.