Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#74736 - [electron] [chromium] doesn't display the trans flag emoji 🏳️‍⚧️ properly

Attached to Project: Community Packages
Opened by Faye (faye) - Saturday, 14 May 2022, 06:54 GMT
Last edited by Balló György (City-busz) - Sunday, 01 January 2023, 13:42 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Evangelos Foutras (foutrelis)
Felix Yan (felixonmars)
Bruno Pagani (ArchangeGabriel)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 3
Private No



[electron] doesn't display the trans flag emoji 🏳️‍⚧️ properly; it gets displayed as a white flag 🏳️ followed by a trans symbol ⚧️, as though it's ignoring the ZWJ.

Additional info:

This affects at least [electron14] (14.2.9) through [electron] (18.2.1), I haven't fully checked how far back it goes.

The upstream Electron 18.2.1 from doesn't have this bug.

Other reports of this issue:

Steps to reproduce:

1. Install Electron and an emoji font: `pacman -S electron noto-fonts-emoji`
2. Create a test file containing the trans flag emoji: `echo 🏳️‍⚧️ > test.txt`
3. Open the test file in Electron: `electron file://$(pwd)/test.txt`
4. The Electron window shows "🏳️ ⚧️"

You can also input a 🏳️‍⚧️ into any Arch-packaged Electron app to observe the broken behavior, such as Element Desktop, Code, etc.

Other flag emoji such as 🏳️‍🌈 are displayed correctly if you perform the same steps, it seems to just be the trans flag.
This task depends upon

Comment by Faye (faye) - Monday, 16 May 2022, 03:18 GMT
On further inspection, Arch's [chromium] 101.0.4951.64 has the same bug, same steps to reproduce. The upstream build of Chromium 101.0.4951.0 from doesn't have the bug.
Comment by Toolybird (Toolybird) - Wednesday, 13 July 2022, 05:52 GMT
It looks fine in Firefox but I definitely see the bug in latest Chromium (103.0.5060.53). Will assign to electron and chromium PM's.