Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

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

Attached to Project: Community Packages
Opened by Faye (faye) - Saturday, 14 May 2022, 06:54 GMT
Task Type Bug Report
Category Packages
Status Unconfirmed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No

Details

Description:

[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 https://github.com/electron/electron/releases/tag/v18.2.1 doesn't have this bug.

Other reports of this issue:
https://github.com/electron/electron/issues/31251
https://github.com/vector-im/element-web/issues/16884

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 https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F982481%2Fchrome-linux.zip?generation=1647559751806495&alt=media doesn't have the bug.

Loading...