[chromium] doesn't display the trans flag emoji ?️⚧️ properly
Task Info (Flyspray) | |
---|---|
Opened By | Faye (faye) |
Task ID | 74736 |
Type | Bug Report |
Project | Community Packages |
Category | Packages |
Version | None |
OS | x86_64 |
Opened | 2022-05-14 06:54:22 UTC |
Status | Assigned |
Assignee | Evangelos Foutras (foutrelis) |
Assignee | Felix Yan (felixonmars) |
Assignee | Bruno Pagani (ArchangeGabriel) |
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:
- Install Electron and an emoji font:
pacman -S electron noto-fonts-emoji
- Create a test file containing the trans flag emoji:
echo ?️⚧️ > test.txt
- Open the test file in Electron:
electron file://$(pwd)/test.txt
- 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.