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!
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!
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
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
|
DetailsDescription:
[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

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.

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.