Bug 149097 - [DOCX] Importing Word file with rotated equations cause them to be misplaced in Writer
Summary: [DOCX] Importing Word file with rotated equations cause them to be misplaced ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: DOCX-Formula
  Show dependency treegraph
 
Reported: 2022-05-15 12:44 UTC by Rafael Lima
Modified: 2025-03-20 03:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample DOCX file (12.78 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-05-15 12:44 UTC, Rafael Lima
Details
Screenshots showing the problem (61.31 KB, application/vnd.oasis.opendocument.graphics)
2022-05-15 12:45 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-05-15 12:44:43 UTC
Created attachment 180127 [details]
Sample DOCX file

Open the attached DOCX file in MS Word. It has a table with some equations in it. In the first column the equations are rotated because the text orientation is vertical.

However, when this file is opened in LO Writer, the equation gets misplaced and becomes invisible (see ODG file with screenshots detailing the bug). Resizing the column  has no effect on the formula visibility.

It seems the formula object is not being rotated either, because copying it and pasting it somewhere else in the text results in a horizontally-oriented object.

System info:
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 4351a6ca782e1d2081ba819338ebbf6a2d2ee2b2
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL
Comment 1 Rafael Lima 2022-05-15 12:45:47 UTC
Created attachment 180128 [details]
Screenshots showing the problem

This ODG file compares how the file is rendered in Word and in Writer.
Comment 2 Telesto 2022-05-16 07:11:07 UTC
Also in
Version: 7.1.8.0.0+ (x64) / LibreOffice Community
Build ID: a94b58277c7aeaa83ce14347cd0b8f7137969d03
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in
Versie: 6.4.0.2 (x86)
Build ID: 08d19fecdc7a2298d051e19cfdb7c35544855fc3
CPU-threads: 4; Besturingssysteem: Windows 6.3 Build 9600; UI-render: GL; VCL: win; 
Locale: nl-NL (nl_NL); UI-taal: nl-NL
Calc: CL

still ok with
Version: 6.1.6.3
Build ID: 5896ab1714085361c45cf540f76f60673dd96a72
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL
Comment 3 Aron Budea 2023-03-20 04:38:57 UTC
This was never really okay, because the formula was horizontal and not rotated even when it was shown (or even worse in older versions).

Nevertheless, it disappeared with the following commit:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=8fdbda18b593e7014e44a0fd590bbf98d83258b7
author		Miklos Vajna <vmiklos@collabora.com>	2019-02-15 14:06:15 +0100
committer	Miklos Vajna <vmiklos@collabora.com>	2019-02-15 15:05:07 +0100

sw btlr writing mode: implement DOCX filter
Comment 4 QA Administrators 2025-03-20 03:16:46 UTC
Dear Rafael Lima,

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