GNOME Bugzilla – Bug 630632
Empathy align RTL text as LTR text on messenger
Last modified: 2018-05-22 14:21:49 UTC
from downstream: https://bugs.edge.launchpad.net/ubuntu/+source/empathy/+bug/571822 i have just been asked by a friend why i don't align my text from right to left(ctrl-shift option in messenger)and he told that he see all my messages align from left to right i checked with pidgin and it's fine there so please fix it and thanks in advance. Important comments: (STEPS TO REPRODUCE) -install empathy on Hebrew Ubuntu add account with windows users which is basically the only users i have and i guess normal msn and try to write things in Hebrew and see if they align to the left or to the right i tested it so far with two users and both told me that when i use empathy it's align to the left and with pidgin it's align properly to the right that is all i can tell you. (POSSIBLE FIX) -This bug sound like an upstream bug and I'll take a "wild" guess and say the fix is probably the same one I did in Pidgin a few years ago: http://shlomil.blogspot.com/2007/02/patch-to-fix-some-bidi-text-issues-in.html RL=1 should be passed for RTL messages in MSN protocol. Wireshark can be used to confirm what flag value is used by Empathy. Solution: The first letter of the message should be detected for direction and set the flag accordingly (AKA, the Gnome way). Notes from reporter: I don't think this is specifically a butterfly issue although the ubuntu reporter mentions MSN, it's the way text in chats are displayed for hebrew.
Thanks for your bug report. In order to solve this we need: A) API in Telepathy to know when a message is RTL. I opened: https://bugs.freedesktop.org/show_bug.cgi?id=30396 B) Implement this API in telepathy-butterfly C) Make use of this API in Empathy This bug is C) but is blocked on A) and B).
Is this what http://en.wikipedia.org/wiki/Right-to-left_mark is for?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/empathy/issues/278.