Bug 135569 - FILEOPEN DOCX Inner margins are rotated with textbox
Summary: FILEOPEN DOCX Inner margins are rotated with textbox
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
: 127438 (view as bug list)
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2020-08-09 07:23 UTC by raal
Modified: 2025-06-08 03:11 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
test file (69.52 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-08-09 07:25 UTC, raal
Details
printscreen from office365 (19.82 KB, image/png)
2020-08-09 07:26 UTC, raal
Details
How it looks in LibreOffice 7.1 (11.68 KB, image/png)
2020-08-10 16:46 UTC, Xisco Faulí
Details
The example file opened in Word and current Writer (91.09 KB, image/png)
2020-09-09 12:04 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2020-08-09 07:23:52 UTC
Description:
Docx file - rotated text imported badly

Steps to Reproduce:
1. open attached docx file
2.
3.

Actual Results:
rotated text in text box is not visible as in word

Expected Results:
like in word, see printcsreen


Reproducible: Always


User Profile Reset: No



Additional Info:
This started after the fix 
author	Miklos Vajna <vmiklos@collabora.com>	2019-04-25 21:05:43 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2019-04-26 09:05:04 +0200
commit ff17478e069cc82681df62514876c06365dd5cd6 (patch)
tree 172435a271013210b49c372ffa441e949e1a2b47
parent 647660cf844f265dd2ad7c78e6cb13844fbf3613 (diff)
sw btlr writing mode: implement DOCX shape import for tbrl

Before the fix the rotate property was ignored.
Comment 1 raal 2020-08-09 07:25:46 UTC
Created attachment 164060 [details]
test file
Comment 2 raal 2020-08-09 07:26:18 UTC
Created attachment 164061 [details]
printscreen from office365
Comment 3 Xisco Faulí 2020-08-10 16:45:45 UTC
Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: 6ad2f463784a24c566477cdd60ae729651bb8564
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 Xisco Faulí 2020-08-10 16:46:19 UTC
Created attachment 164122 [details]
How it looks in LibreOffice 7.1
Comment 5 NISZ LibreOffice Team 2020-09-09 12:04:07 UTC
Created attachment 165316 [details]
The example file opened in Word and current Writer

The problem is that both the shapes in Word have 1.91 cm top and bottom spacing set for the text box of the shape. This is correctly imported in Writer.

However in a rotated shape top and bottom mean different things in Word and Writer:
In Word top and bottom is the same as in a non-rotated shape.
In Writer top and bottom are rotated with the shape so they actually set left and right margins.
Manually setting these to 0 however does not change the layout (unlike in Word).
Comment 6 NISZ LibreOffice Team 2020-10-27 10:15:17 UTC
@Attila Thought you might be interested in this one
Comment 7 NISZ LibreOffice Team 2020-11-30 14:14:35 UTC
*** Bug 127438 has been marked as a duplicate of this bug. ***
Comment 8 Commit Notification 2022-08-22 14:50:32 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/223a43537559efc96b4b5bca32d93211ed849ae5

crashtesting: fix DOCX export of tdf135569-1.docx

It will be available in 7.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.
Comment 9 Commit Notification 2022-08-22 19:01:36 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "libreoffice-7-4":

https://git.libreoffice.org/core/commit/9ad83843742354312cd543bfbed286c9f52baf1a

crashtesting: fix DOCX export of tdf135569-1.docx

It will be available in 7.4.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.
Comment 10 QA Administrators 2025-06-08 03:11:51 UTC
Dear raal,

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 with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

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) from https://downloadarchive.documentfoundation.org/libreoffice/old/

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: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug