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 332984 - Broken contact info in status bar for contacts with LTR names in RTL locales
Broken contact info in status bar for contacts with LTR names in RTL locales
Status: RESOLVED OBSOLETE
Product: evolution-data-server
Classification: Platform
Component: Mailer
1.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks: Persian Hebrew
 
 
Reported: 2006-03-01 11:41 UTC by Farzaneh Sarafraz
Modified: 2021-05-19 11:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
English contact name in Persian locale. (Incorrect) (23.65 KB, image/png)
2006-03-01 11:46 UTC, Farzaneh Sarafraz
  Details
English contact name in Persian locale. (Incorrect) (23.65 KB, image/png)
2006-03-01 11:48 UTC, Farzaneh Sarafraz
  Details
Persian contact name in Persian locale. (Correct) (23.23 KB, image/png)
2006-03-01 11:50 UTC, Farzaneh Sarafraz
  Details
Proposed patch (823 bytes, patch)
2006-03-01 11:59 UTC, Farzaneh Sarafraz
needs-work Details | Review

Description Farzaneh Sarafraz 2006-03-01 11:41:28 UTC
Steps to reproduce:
In Evolution Mailer, in the header of a message in the preview frame, move the mouse pointer over an email address which also has a name. The status bar displays this message:
"Click to mail foo <foo@bar.com>"
When running Evolution in an RTL locale, the arrangement of the above message is incorrect. Please see the attached screenshots.
Comment 1 Farzaneh Sarafraz 2006-03-01 11:46:58 UTC
Created attachment 60386 [details]
English contact name in Persian locale. (Incorrect)
Comment 2 Farzaneh Sarafraz 2006-03-01 11:48:07 UTC
Created attachment 60387 [details]
English contact name in Persian locale. (Incorrect)
Comment 3 Farzaneh Sarafraz 2006-03-01 11:50:15 UTC
Created attachment 60388 [details]
Persian contact name in Persian locale. (Correct)
Comment 4 Farzaneh Sarafraz 2006-03-01 11:59:14 UTC
Created attachment 60390 [details] [review]
Proposed patch

Roozbeh Pournader has proposed a patch to evolution-data-server to fix this bug. Attached.
Comment 5 Devashish Sharma 2006-03-01 12:13:41 UTC
Patch is for the mailer code (camel), so moving it to mailer.
Comment 6 Roozbeh Pournader 2006-03-01 15:51:50 UTC
The patch may have bad side effects. I would really appreciate it if someone with knowledge about the Evolution's internals could review the patch. I don't know where else the function camel_internet_address_format_address is used.
Comment 7 Behdad Esfahbod 2006-03-01 18:27:16 UTC
This really should not be done like this and should be left to translators to fix.  For example marking the "%s <%s>" for translations allows that.  Last thing I want to see is cryptic hex chars all over the GNOME source code.
Comment 8 Roozbeh Pournader 2006-03-02 14:41:25 UTC
Behdad, you're right, but what I'm worried about it something else totally. If the output of this function is parsed by anything else later (or gets put in email messages and sent over the internet), we really need to do something else like having one formatting function for display and another for sending the message on the line. Marking it translatable will be even worse in that case.
Comment 9 Behdad Esfahbod 2006-03-03 04:08:52 UTC
In a second thought, depending on translators for this one doesn't look like a safe idea.
Comment 10 Roozbeh Pournader 2006-03-06 14:48:00 UTC
I just found it the hard way: the patch has bad side effects, as the characters will be sent over the wire.
Comment 11 André Klapper 2021-05-19 11:04:11 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. 
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow
  https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/

Thank you for your understanding and your help.