GNOME Bugzilla – Bug 309441
in right-to-left locales, the alignment of the tasks is wrong
Last modified: 2021-05-19 12:12:45 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:
Created attachment 48623 [details] a screenshot demonstrating alignment in right-to-left locales
Created attachment 48624 [details] a screenshot demonstrating how the alignment should be
adding i18n keyword
I am able to replicate this problem in the latest build of evolution (i.e. 2.3.x)
updating version info
testing with that locale "fa_IR", i do not get my (western) tasks displayed at all in 2.3.5.1. :-(
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.
Still valid in 3.3.5.
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.
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.