After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 630632 - Empathy align RTL text as LTR text on messenger
Empathy align RTL text as LTR text on messenger
Status: RESOLVED OBSOLETE
Product: empathy
Classification: Core
Component: Chat
2.31.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2010-09-26 14:49 UTC by Brian Curtis
Modified: 2018-05-22 14:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brian Curtis 2010-09-26 14:49:05 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.
Comment 1 Guillaume Desmottes 2010-09-27 13:39:37 UTC
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).
Comment 2 Will Thompson 2010-09-27 13:50:44 UTC
Is this what http://en.wikipedia.org/wiki/Right-to-left_mark is for?
Comment 3 GNOME Infrastructure Team 2018-05-22 14:21:49 UTC
-- 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.