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 342659 - Arabic characters are disjointed in Evolution the message body
Arabic characters are disjointed in Evolution the message body
Status: RESOLVED WONTFIX
Product: GtkHtml
Classification: Other
Component: Rendering
3.8.x
Other All
: Normal normal
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
gnome[unmaintained]
: 342656 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-23 05:52 UTC by Xiurong Simon Zheng
Modified: 2014-12-02 01:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
screenshot (57.23 KB, image/png)
2006-05-23 05:56 UTC, Xiurong Simon Zheng
  Details
sun_patches (1.80 KB, patch)
2006-06-15 12:14 UTC, Cai Nan
needs-work Details | Review

Description Xiurong Simon Zheng 2006-05-23 05:52:55 UTC
Please describe the problem:
Arabic characters are disjointed in the message body 

Steps to reproduce:
1. login to required locale (e.g. ar_SA.UTF-8)
2. invoke Evolution
3. choose - File -> New -> Mail Message
4. Insert in Mail body some arabic characters (Input method switcher)


Actual results:
result:
Arabic characters are disjointed
(e.g.: try to type gh - result is similar IJ, but this is incorrect)
In subject are characters joined (you can compare)


Expected results:
Arabic characters are showed properly.

Does this happen every time?
yes.

Other information:
Comment 1 Xiurong Simon Zheng 2006-05-23 05:56:42 UTC
Created attachment 66030 [details]
screenshot

Input the same text on subject field text and message body. But message body displayed incorrect.
Comment 2 Xiurong Simon Zheng 2006-05-23 05:59:12 UTC
*** Bug 342656 has been marked as a duplicate of this bug. ***
Comment 3 Xiurong Simon Zheng 2006-05-23 06:14:34 UTC
In addition, message body text is aligned to left. It should be aligned to right.
Comment 4 Cai Nan 2006-06-15 12:14:31 UTC
Created attachment 67408 [details] [review]
sun_patches

Correct display direction for arabic.
Comment 5 Cai Nan 2006-06-16 05:15:34 UTC
The arabic characters disjointed problem may be caused by certain font family.
Default font family for plain text is "Monospace". When using "Sans regular", the characters display properly. But this may cause changes in public interface. 
Comment 6 Veerapuram Varadhan 2006-07-26 09:17:57 UTC
(In reply to comment #5)
> The arabic characters disjointed problem may be caused by certain font family.
> Default font family for plain text is "Monospace". When using "Sans regular",
> the characters display properly. But this may cause changes in public
> interface. 
> 
@Cai: What kind of interface changes would that require?
Comment 7 Veerapuram Varadhan 2006-07-26 09:19:19 UTC
(In reply to comment #4)
> Created an attachment (id=67408) [edit]
> sun_patches
> 
> Correct display direction for arabic.
> 
Except for coding style, the patch looks good.

Instead of:
        foo(x, y);
use:
        foo (x, y);
Comment 8 Xiurong Simon Zheng 2006-07-27 05:02:25 UTC
Veerapuram, thanks. I committed this patch to CVS HEAD. By the way, it actually belongs to bug 345618.
Comment 9 Xiurong Simon Zheng 2007-11-05 09:22:08 UTC
Although alignment to left is resolved, disjoined issue is still reproducible on evolution 2.12.
Comment 10 Djihed Afifi 2008-01-03 15:51:14 UTC
This is most certainly a font issue. Doesn't happen here with Arabic, default font is sans.
Comment 11 Matthew Barnes 2008-03-11 01:03:07 UTC
Bumping version to a stable release.
Comment 12 Srinivasa Ragavan 2008-05-13 08:56:45 UTC
Simonz, Nancy, the patch you put has caused bug #524338 and I can say that mails that take 12 seconds with out the patch takes ~45 seconds to render.

This need some immediate look.
Comment 13 Xiurong Simon Zheng 2008-05-13 09:28:01 UTC
CCed Taokao, who is our I18N expert. 

Taokao, could you possibly have a look if we have better solution for this performance issue? Thanks.
Comment 14 Srinivasa Ragavan 2008-05-13 11:44:50 UTC
It is both the performance and the flicker/blink of mails in the preview.
Comment 15 Srinivasa Ragavan 2008-05-19 03:13:01 UTC
I have reverted the fix for now. It causes serious slowness and flickering while mail rendering.
Comment 16 André Klapper 2014-12-02 01:06:30 UTC
Since version 3.6, Evolution uses WebKit instead of GtkHtml for displaying messages. (And for completeness, Evolution 3.14 is planned to use WebKit also for composing and editing messages so GtkHtml will not receive any fixes anymore.)

Hence I am closing this GtkHtml rendering bug report.
We are sorry that your request was not handled in time when it was reported but unfortunately manpower is very limited (and does not allow testing every single reported issue separately again either).

Please feel free to reopen this report (and move it to the "Evolution" product and the "Mail" component) if the problem described in this bug report still happens in a recent supported Evolution version which uses WebKit (the current stable Evolution version is 3.12).