Bug 200155 - Mixed Hebrew and English text not formatted correctly
Summary: Mixed Hebrew and English text not formatted correctly
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: unspecified
Platform: Fedora RPMs Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 11:41 UTC by eli
Modified: 2012-01-08 01:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PATCH 1/2 (5.87 KB, patch)
2009-09-29 20:02 UTC, Diego Iastrubni
Details
PATCH 2/2 (641 bytes, patch)
2009-09-29 20:05 UTC, Diego Iastrubni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eli 2009-07-14 11:41:08 UTC
Version:            (using KDE 4.2.95)
Installed from:    Fedora RPMs

I am trying to type a line of text in kmail that contains both Hebrew and English characters. The line contains the 2 sentences displayed below.

אני שלחת לך את המסמך מלא בתור מסמך Word. אנא תן לי לדעת אם יש בעיה.

The first problem is that the sentence that appears to being with "Word" is not the second sentence, but the first one.

The second problem and probably related to the first one is that the word "Word" is the last word of the first sentence.
Comment 1 eli 2009-07-14 11:51:11 UTC
Actually, this is looking more like a general internationalization problem.

If the application language is switched to Hebrew from English then directionality seems to work OK. However when switched back to English, directionality is screwed up again.
Comment 2 Diego Iastrubni 2009-09-04 23:17:55 UTC
Eli, there is no way for changing the paragraph direction in KMail.

We need to add support for paragraph direction in KRichTextEdit
Comment 3 eli 2009-09-28 21:34:34 UTC
K then..... is this being planeed? It kinda seems like an obvious thing to do if you want to fully support languages.
Comment 4 Diego Iastrubni 2009-09-29 20:02:28 UTC
Created attachment 37245 [details]
PATCH 1/2

The following patch add an RTL button for KRitchText. I added a dummy button icon for both direction, but when the patch is to be applied to kdelibs the oxygen artists need to be aproached.

This patches kdelibs only.
Comment 5 Diego Iastrubni 2009-09-29 20:05:46 UTC
Created attachment 37246 [details]
PATCH 2/2

This patch should be applied *after* kdelibs-krichtext-dir-support. In theory you should see a new set of buttons. In practice, I don't see anything.
Comment 6 Diego Iastrubni 2009-09-29 20:06:56 UTC
non working patches are attached to this bug report. i am not sure why they 
don't work, but they are a good start.
Comment 7 eli 2009-09-29 22:04:42 UTC
Filed a bug report under Fedora at bugzilla.

https://bugzilla.redhat.com/show_bug.cgi?id=526323

So how do we proceed.
Comment 8 eli 2010-09-15 10:19:37 UTC
Seems to be fixed in 4.5.1
Comment 9 Christophe Marin 2012-01-08 01:35:15 UTC
Closing then.

This still works in KMail2