Created attachment 153821 [details]
File with rotated line, created by Word97
Open attached document. It contains a line, which is vertical because it has been rotated. Save the document as .doc with a new name. Reopen the newly saved document. Notice that the line is now horizontal.
It is OK in Version: 184.108.40.206
Build ID: f3e25ec0581f5012f54d8810dcddd5824f4ee374
CPU Threads: 8; OS Version: Windows 6.2; UI Render: default;
Locale: de-DE (en_US); Calc: group
It is broken in Version: 220.127.116.11 (x64)
Build ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU threads: 8; OS: Windows 6.19; UI render: default;
Locale: de-DE (en_US); Calc: CL
It is a "file save" error, because the document saved by 18.104.22.168 shows correct in 22.214.171.124. And the other way round, the document saved by 126.96.36.199 shows the missing rotation in 188.8.131.52 too.
Confirmed on mint 19.2 with Version: 184.108.40.206.alpha0+
Build ID: 41cd3e8e817c8c33a13608e62eeb06ce2c6977e4
CPU threads: 2; OS: Linux 4.15; UI render: default; VCL: gtk3;
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-09-01_22:30:33
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Save to doc doesn't work correctly, but save to docx is also broken.
Let's keep this bug report about the DOC regression, the DOCX bug is a different issue (currently affected by bug 122717, and likely by bug 119121).
Bibisected the regression to the following commit using repo bibisect-linux-64-6.0. Adding Cc: to Szymon Kłos.
author Szymon Kłos <firstname.lastname@example.org> 2017-06-19 15:32:16 +0200
committer Andras Timar <email@example.com> 2017-06-28 22:38:49 +0200
Watermark: tdf#91687 correct size in the .doc
This briefly got fixed by Victor Mireyev's commit below, and then regressed again with Justin Luth's fix to a regression introduced by the first commit. Justin, do you have a thought on why this line might behave differently than other lines in other samples?
author Victor Mireyev <firstname.lastname@example.org> 2018-06-02 16:08:59 +0300
committer Justin Luth <email@example.com> 2018-06-16 06:49:56 +0200
tdf#70838 ww8export: rotate shape vertically = swap width/height
author Justin Luth <firstname.lastname@example.org> 2018-06-28 15:48:40 +0300
committer Mike Kaganski <email@example.com> 2018-06-29 07:43:40 +0200
tdf#118421 ww8export: rotate vertically: not Lines or groups
Shapes and positioning is an area I probably should not have touched. I have no valuable thoughts. My only thought is hallelujah, it isn't a regression report.
This issue is fixed by https://git.libreoffice.org/core/commit/bda4d7a7c3fcc259e023f568606be5dcba818db9
Closing as duplicate of bug 123321
*** This bug has been marked as a duplicate of bug 123321 ***