Description: When the attached original docx gets saved in LO the text in one of the boxes gets flipped. Steps to Reproduce: 1. Open the original docx in LO. 2. Save it as docx. 3. Open the saved file in MSO 4. Notice the changes. Actual Results: One of the boxes has its text flipped. Expected Results: The text should stay as it was before. Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 149449 [details] The original docx file
Created attachment 149450 [details] The saved file.
Created attachment 149451 [details] Screenshot of the original and the exported file side by side in Word.
Thank you for reporting the bug. I can see that the none of the text boxes nor the text appears after save and open. Only the arrows are visible in MSO after save open. Version: 6.3.0.0.alpha0+ Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87 CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04 Locale: en-US (en_US); UI-Language: en-US Calc: threaded
I confirm your description with Version: 6.3.0.0.alpha0+ (x64) Build ID: f42554a1886ebe49170c25096dc3281b2c7bb1f4 CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; TinderBox: Win-x86_64@42, Branch:master, Time: 2019-02-08_22:37:30 Locale: en-US (de_DE); UI-Language: en-US Calc: threaded
Also reproduced in Version: 4.4.0.0.alpha0+ Build ID: 78766aaa12ae4fae9dd2f3274617ba41de57eefd but not in Version: 4.1.0.0.alpha1+ Build ID: a2c9d4f8bbde97f175bae4df771273a61251f40
(In reply to Xisco Faulí from comment #6) > Also reproduced in > > Version: 4.4.0.0.alpha0+ > Build ID: 78766aaa12ae4fae9dd2f3274617ba41de57eefd > > but not in > > Version: 4.1.0.0.alpha1+ > Build ID: a2c9d4f8bbde97f175bae4df771273a61251f40 Does not happen in the new bibisect-win32-4.3 repos latest version either. I'll try the 4.4 bibisect repo later.
With bibisect-win32-4.4 I could bibisect to this commit: https://cgit.freedesktop.org/libreoffice/core/commit/?id=18898e13fda25fe6dc85318dd0711355c7b2cc26 Author: Matúš Kukan <matus.kukan@collabora.com> Commit: Matúš Kukan <matus.kukan@collabora.com> bnc#897769: OOXML import: Import border lines using reference too. Do not ignore 'lnRef' element. Also fix typo to apply 'seCell' properties to the right cell (southeast).
Created attachment 163065 [details] Screenshot of the original and exported documents side by side in Word Taking a closer look at this file I see there is a checkbox in Word -> Format Shape -> Shape Settings -> Textbox -> Avoid rotating item This is checked in the original because the shape is 180 degrees rotated, but after saving and reopening in Word the box is cleared. Writer has no such option in Format - Text box and shape -> Text Attributes dialog. This looks like something we should interopgrabbag at least.
Also earlier bisection must be wrong, in 4.3 the shapes were imported as frames and this particular shape was exported without the original 180 degrees rotation - which coincides with what the user wanted, but now we try to roundtrip what they actually did :).
Removing regression keywords.
Szabolcs Toth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d3094b98231730b8e6d863c6a2fc0dd62f3e991a tdf#123610 DOCX shape import: keep text upright It will be available in 7.1.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.
VERIFIED with Version: 7.1.0.3 (x64) / LibreOffice Community Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Szabolcs, thanks for fixing it!