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 309441 - in right-to-left locales, the alignment of the tasks is wrong
in right-to-left locales, the alignment of the tasks is wrong
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: general
3.4.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[etable]
Depends on:
Blocks: Persian Hebrew
 
 
Reported: 2005-07-04 12:09 UTC by Farzaneh Sarafraz
Modified: 2021-05-19 12:12 UTC
See Also:
GNOME target: ---
GNOME version: 3.3/3.4


Attachments
a screenshot demonstrating alignment in right-to-left locales (41.07 KB, image/png)
2005-07-04 12:36 UTC, Farzaneh Sarafraz
  Details
a screenshot demonstrating how the alignment should be (41.92 KB, image/png)
2005-07-04 12:36 UTC, Farzaneh Sarafraz
  Details
Patch to fix the problem (1.02 KB, patch)
2006-04-23 14:37 UTC, Roozbeh Pournader
needs-work Details | Review

Description Farzaneh Sarafraz 2005-07-04 12:09:59 UTC
Please describe the problem:
The alignment of the tasks in evolution should depend on the language of the
tasks, rather than the session language. The tasks are improperly aligned when
evolution is run in right-to-left mode. Right-to-left messages are aligned to
the left and left-to-right messages are aligned to the left, while it should be
the other way round. I'll attach two screenshots to demonstrate how it looks and
how it should look.


Steps to reproduce:
1. LANG=fa_IR evolution
2. add a task in English, and a task in Persian

Actual results:
The English task is aligned to the right, and the Persian task is aligned to the
left.

Expected results:
The English task should have been aligned to the left, and the Persian task to
the right; as in the left-to-right locals.

Does this happen every time?
yes.

Other information:
Comment 1 Farzaneh Sarafraz 2005-07-04 12:36:06 UTC
Created attachment 48623 [details]
a screenshot demonstrating alignment in right-to-left locales
Comment 2 Farzaneh Sarafraz 2005-07-04 12:36:56 UTC
Created attachment 48624 [details]
a screenshot demonstrating how the alignment should be
Comment 3 André Klapper 2005-07-04 12:39:09 UTC
adding i18n keyword
Comment 4 Subodh Soni 2005-07-28 10:35:37 UTC
I am able to replicate this problem in the latest build of evolution (i.e. 2.3.x)
Comment 5 André Klapper 2005-08-13 15:44:52 UTC
updating version info
Comment 6 André Klapper 2005-08-13 15:51:31 UTC
testing with that locale "fa_IR", i do not get my (western) tasks displayed at
all in 2.3.5.1. :-(
Comment 7 Roozbeh Pournader 2006-04-23 14:37:45 UTC
Created attachment 64151 [details] [review]
Patch to fix the problem

Attached a patch based on Fedora Core 4's libgal2-2.4.3-1.fc4. It may need changes for HEAD, but the concept should be the same.
Comment 8 André Klapper 2012-02-02 17:43:10 UTC
Still valid in 3.3.5.
Comment 9 André Klapper 2012-02-02 17:55:23 UTC
Comment on attachment 64151 [details] [review]
Patch to fix the problem

I applied the patch but it does not really improve the situation.
Sample problem as in comment 1, before and after.
Running 3.3.5 with patch applied I DO NOT get the result in comment 2.
When running an LTR locale the alignment in 3.2.3 is already RTL in the summary column, even without the patch.
Comment 10 André Klapper 2021-05-19 12:12:45 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 bug report ticket at
  https://gitlab.gnome.org/GNOME/evolution/-/issues/

Thank you for your understanding and your help.