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 557941 - Support Right To Left (RTL) Paragraph Direction
Support Right To Left (RTL) Paragraph Direction
Status: RESOLVED WONTFIX
Product: GtkHtml
Classification: Other
Component: Editing
3.18.x
Other Linux
: Normal critical
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2008-10-26 10:52 UTC by afshin
Modified: 2017-02-09 13:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description afshin 2008-10-26 10:52:50 UTC
Hi
I write my E-Mails in Persian (Farsi) and Persian is a Right to left (RTL) language 
I love Evolution but I can't use it for not supporting RTL!
Please support RTL in next version of this E-Mail client.
Very Thanks
Comment 1 afshin 2008-10-26 12:12:13 UTC
For more info about Persian language, you can read below article:
http://en.wikipedia.org/wiki/Persian_language
Very Thanks
Comment 2 Matthew Barnes 2008-10-26 13:33:33 UTC
Some parts of Evolution support RTL languages, some parts don't.
Which parts specifically are you having trouble with?
Comment 3 afshin 2008-10-26 17:55:29 UTC
Firstly, thanks for your reply. 
As you know there is a "New" button in toolbar of Evolution. When I click on it, a window open and in below of this window there is an editor for write emails and unfortunately there is not a RTL button in toolbar of it's editor for change paragraph direction.
You know that there is difference between Right align and RTL direction. RTL languages must use RTL direction for correct rendering of their E-Mails. 
For better description: This button is visible in editor toolbar of Gmail E-Mail service for RTL languages.
of course, you are aware and I'm sorry for my descriptions.
Very Thanks
Comment 4 afshin 2008-11-11 21:02:04 UTC
Hi
Why this feature request is unconfirmed yet?
Thanks
Comment 5 Matthew Barnes 2008-11-12 01:06:41 UTC
Confirming a feature request is meaningless in Bugzilla.

It's meant for bugs, as in someone else is also seeing the reported bug.
Comment 6 PC2st.ir 2009-05-12 21:20:04 UTC
1) Thanks to every one that work on this project.
2) Sorry for my poor English language. I'm not a good speaker on it.
3) Actually, this is a bug for RTL messages that explicitly are right aligned.
Excuse me, but i should tell you something about it in more detail.

In Evolution Mail v2.22.3.1 (that now i am using it in Lenny):

Before i was typing my new mail message, i have just set the keyboard layout to the Persian (or any RTL language).
Fortunately, Evolution Mail has detected the text direction from the current keyboard layout and it has changed the paragraph text style to be in the RTL direction by adding a new P tag to the HTML codes of the mail message.
Until that time, there was no problem and everything was OK.
The HTML codes of the mail message was something like:

<BODY>
<P DIR=RTL>
xxxxxxxxxx
</P>
</BODY> 

Then i tried to align the paragraph to the right side. After the paragraph aligned to the right side, the HTML codes of the mail message become something like:

<BODY>
<P DIR=RTL>
<DIV ALIGN=right>xxxxxxxxxx</DIV>
</P>
</BODY> 

However it wasn't a good solution.
Because the text direction attribute of the P tag will not apply to the inner DIV tags. To fix this problem, the generated HTML codes should be changed in this way:

<BODY>
<DIV DIR=RTL>
<DIV ALIGN=right>xxxxxxxxxx</DIV>
</DIV>
</BODY> 

After that, now it is not a problem with RTL messages that explicitly are right aligned.
Comment 7 afshin 2009-05-13 04:48:13 UTC
Regarding to "sadegh" comment, I think this is a bug in Evolution and NOT feature request.
Thanks
Comment 8 afshin 2009-05-14 04:25:39 UTC
I checked again "sadegh" comment in Evolution 2.26.2 under Ubuntu 9.04
When I switch to Persian keyboard layout, "Align Right" button active automatically and add This HTML tag into E-mail source:
<DIV ALIGN=right>xxxxxxxxxx</DIV>

There isn't: 
<P DIR=RTL>
in E-mail source, when I switch to Persian keyboard layout in Evolution 2.26.2
Thanks
Comment 9 afshin 2009-07-01 09:59:39 UTC
Dear developers,
Why not review this feature request?
I think it is easy for implementation.
Thanks
Comment 10 André Klapper 2014-08-30 15:22:33 UTC
This will require retesting with Evolution 3.16 once it is available in March 2015. 3.16 will use WebKit for the mail composer and not GtkHtml anymore.
For GtkHtml, this is a WONTFIX.
Comment 11 André Klapper 2017-02-09 13:35:39 UTC
GtkHtml is not under active development anymore. 
Evolution (its main consumer) switched to a WebKit backend a while ago. 
It is currently unlikely that there will be any further GtkHtml development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping (bug 778387) to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.