Public bug reported:

A notification was sent which contained an emoji flag and RTL text. The
flag shown in the popup was not the flag which was intended to show. The
system is in LTR mode, I did not test with the whole system configured
RTL.

Example code:
$ notify-send "test๐Ÿ‡ฎ๐Ÿ‡ฑ"
$ notify-send "ื‘ื“ื™ืงื”๐Ÿ‡ฎ๐Ÿ‡ฑ"

The first one correctly shows the Israeli flag, the second one displayed
the flag of Lichtenstein.

I noticed that the flag code for Israel is IL and for Lichtenstein LI.
It seems to me that when the text is being interpreted as RTL, it
somehow flips the flag code, causing it to be interpreted incorrectly.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libnotify-bin 0.7.9-1ubuntu3.20.04.2
ProcVersionSignature: Ubuntu 5.4.0-196.216-generic 5.4.280
Uname: Linux 5.4.0-196-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov  7 18:44:52 2024
InstallationDate: Installed on 2020-01-13 (1759 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: libnotify
UpgradeStatus: Upgraded to focal on 2020-10-08 (1490 days ago)

** Affects: libnotify (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

** Attachment added: "Screenshot showing the notifications"
   
https://bugs.launchpad.net/bugs/2087790/+attachment/5836163/+files/Screenshot%20from%202024-11-10%2015-30-28.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2087790

Title:
  Emoji flags in popup notification with RTL text shows the wrong
  country

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/2087790/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to