Bug 465223 - Strange behavior when printing emojis in the terminal
Summary: Strange behavior when printing emojis in the terminal
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 22.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-03 12:16 UTC by Chico
Modified: 2023-02-03 12:39 UTC (History)
0 users

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


Attachments
A script to echo emojis (31 bytes, application/octet-stream)
2023-02-03 12:16 UTC, Chico
Details

Note You need to log in before you can comment on or make changes to this bug.
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.