Description: If you save certain presentations, the text directions of many/most/all styles is set to RTL rather than LTR (either when saving or when opening). Steps to Reproduce: Consider the attached presentation. Its various styles are set to RTL direction (e.g. Outline, Title) - therefore, when you open it in Impress, you see the Bullet to the right, rather than the left, of the "hello world" text: hello world * rather than * hello world Now, 1. Change the Outline 1 style's direction to LTR: 1.1 Open sidebar 1.2 Switch to style sidebar 1.3 Right-click "Outline 1" 1.4 Select the Alignment Tab 1.5 Change the Text Direction setting to LTR 1.6 Click OK. 2. Save the presentation 3. Close the presentation 4. Open the presentation (with or without having exited LO altogether) Actual Results: The Outline 1 style has RTL direction again, and we see "hello world *". Expected Results: The Outline 1 style should have LTR direction again, and we should see "* hello world". Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: I'm not sure under which conditions this happens. It may or may not have to do with content originally imported from MS Powerpoint. But - this makes the presentation unusable without having to set a bunch of directions every time you open it.
Created attachment 156064 [details] Presentation with the bug manifesting
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=bcb371b1a830442610ad7fda476eda5271427a50 author Tamás Zolnai <tamas.zolnai@collabora.com> 2017-04-15 00:23:07 +0200 committer Tamás Zolnai <tamas.zolnai@collabora.com> 2017-04-15 15:40:56 +0200 commit bcb371b1a830442610ad7fda476eda5271427a50 (patch) tree b203e822dcde9f22fa56a57418c4dc4d1e96880f parent 2436cf17304f25c7d34da52a321d6da0e9011d19 (diff) ODF import / export of rotated text in Impress table Bisected with: bibisect-linux-64-5.4 Adding Cc: to Tamás Zolnai
(In reply to Xisco Faulí from comment #2) So did that patch forget to set something, or did it start overwriting something? It doesn't seem to be about text direction specifically. Also - thanks for bisecting this :-)
Tamás Zolnai committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6f62a5c4ee2c1b7654c7fcaa618fb495e0d32f0a tdf#128985: ODP: Style text directions revert to RTL on save and re-open It will be available in 6.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
(In reply to Commit Notification from comment #4) Can I trouble you to explain the problem and the solution in the patch? > It will be available in 6.5.0. Is there a chance of pushing this into 6.4? We're still in beta after all.
Verified in Version: 6.5.0.0.alpha0+ Build ID: 3a6f270edfffb97763927b2732feacedbdac1e80 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded @Tamás Zolnai, thanks for fixing this issue!! Should it be closed as RESOLVED FIXED ?
Tamás Zolnai committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/f187550e052ac659766dc8dc4ef574714e8ac46b tdf#128985: ODP: Style text directions revert to RTL on save and re-open It will be available in 6.4.0.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Tamás Zolnai committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/commit/5d20213462ca346ba942ce5e03a5771d499d3518 tdf#128985: ODP: Style text directions revert to RTL on save and re-open It will be available in 6.3.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Tamás Zolnai committed a patch related to this issue. It has been pushed to "libreoffice-6-3-4": https://git.libreoffice.org/core/commit/8aa778177b31beef5ec00ca995a14c8f6dca347f tdf#128985: ODP: Style text directions revert to RTL on save and re-open It will be available in 6.3.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/329cc83324f8f361a5383bf7dac2c9c21799dcdc tdf#128985: sd_export: Add unittest It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.