Created attachment 69081 [details]
Libreoffice conference 2012 template
Opening a presentation done in LTR interface in an RTL interface makes the text appear align to the right, although it used to show align to the left.
Saving the file, makes this change permanent, so even when opening again with LTR interface the text is align to the right. Compering both presentation in flat ODP format show the difference is the addition: fo:text-align="end" to style:paragraph-properties.
Way to reproduce:
1. Open the attached presentation with RTL UI (notice that just setting SAL_RTL_ENABLED isn't enough to trigger the bug).
2. Notice the text in the bullet lists is align to the right.
3. Save the file (preferably as a new file).
4. Open the new file with LTR UI and see that the text is still right aligned.
5. Compare with original presentation where the text is left aligned.
Reproduced during Libreoffice conference 2012, changing status to new.
the problem still exist (Version 22.214.171.124) .
**and this related to locale setting not about the UI.
1.open the attached file with (RTL | LTR) interface.
2.go to Tools->options->languageSettings->languages->localeSettings.
3. choose any RTL language (Arabic).
4.save then close.
5.reopen the file.
@ I work under Ubuntu Release 12.10 (quantal) 64-bit GNOME 3.6.0
Setting LC_CTYPE=he_IL.UTF-8 is enough for me to reproduce the problem.
This bug is also present in writer. I reproduced it in master.
(In reply to comment #4)
> This bug is also present in writer. I reproduced it in master.
for me, I can reproduceed it in master just in impress and draw. nothing happened in writer .
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
*Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.1 or later)
*If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
*If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System
Please DO NOT
*Update the version field
*Reply via email (please reply directly on the bug tracker)
*Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to "inherited from OOo";
4b. If the bug was not present in 3.3 - add "regression" to keyword
Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa
Thank you for your help!
-- The LibreOffice QA Team This NEW Message was generated on: 2015-04-01
With Hebrew UI, the text was left-aligned just as with Eng. UI. Closing as WFM.
Win 7 Pro 64-bit, Version: 126.96.36.199
Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6
Still happens in 5.0.1 (LibO 5.0.1 packages for Debian GNU/Linux, 64bit)
Notice the test in step #4 is with left to right interface, where the original file is aligned to the left, while the saved file is aligned to the right.
I tracked down this issue (before seeing this bug report) and it seems Draw/Impress set text alignment to right if the current locale is RTL one, which makes no sense at all. This was introduced back in 2003 when a branch with obscure name with merged and no explanation is provided.
https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=2c32696a04bc195c8ce61a0df6dcafb8c0c49fe0 (search for SetDefaultWritingMode).
I’m tempted to consider this just wishful thinking from whoever wrote this and submit a patch that remove the corresponding lines.
Submitted a patch to gerrit https://gerrit.libreoffice.org/#/c/28411/
Khaled Hosny committed a patch related to this issue.
It has been pushed to "master":
tdf#56403: Text is right aligned in RTL locales
It will be available in 5.3.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.