Bug 112456 - FILEOPEN, DOCX 2007: Text Box Shape misplaced (OK if resaved in MSO or moved and saved in LO)
Summary: FILEOPEN, DOCX 2007: Text Box Shape misplaced (OK if resaved in MSO or moved ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0 all versions
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Grouped-Shapes VML-Textbox
  Show dependency treegraph
 
Reported: 2017-09-17 21:13 UTC by Oliver Sander
Modified: 2025-09-18 03:10 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
The file that triggers the problem (45.77 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-09-17 21:14 UTC, Oliver Sander
Details
The file as rendered by LO 5.4.1.2 (82.41 KB, application/pdf)
2017-09-17 21:14 UTC, Oliver Sander
Details
The file as rendered by MSOffice (69.05 KB, application/pdf)
2017-09-17 21:15 UTC, Oliver Sander
Details
The file compared in MSO2016 LO64+ (126.00 KB, image/jpeg)
2019-09-19 06:48 UTC, Timur
Details
The file resaved as DOCX in MSO (119.28 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-09-19 07:04 UTC, Timur
Details
Screenshot of the original document side by side in Word and Writer (104.19 KB, image/png)
2020-10-15 13:11 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Sander 2017-09-17 21:13:54 UTC
Description:
The attached docx document has a four-column footer text.  When opened in LO, the third column does not appear at the correct position, but is too far on the left.

Actual Results:  
 

Expected Results:
 


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Comment 1 Oliver Sander 2017-09-17 21:14:15 UTC
Created attachment 136317 [details]
The file that triggers the problem
Comment 2 Oliver Sander 2017-09-17 21:14:42 UTC
Created attachment 136318 [details]
The file as rendered by LO 5.4.1.2
Comment 3 Oliver Sander 2017-09-17 21:15:07 UTC
Created attachment 136319 [details]
The file as rendered by MSOffice
Comment 4 Xisco Faulí 2017-09-17 21:20:45 UTC
Confirmed in 

Version: 6.0.0.0.alpha0+
Build ID: 83288332f7ced698610739419989c464256f1c4d
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

Version: 5.0.0.0.alpha1+
Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86
Locale: ca-ES (ca_ES.UTF-8)

In previous versions, the column is not even present
Comment 5 QA Administrators 2018-09-18 02:50:14 UTC Comment hidden (obsolete)
Comment 6 Oliver Sander 2018-09-18 13:40:13 UTC
Still reproducible in

Version: 6.1.0.0.alpha0+
Build ID: 1056f14525c5f2cf2e73d461b1aa5e7d763cd1d0
CPU threads: 4; OS: Linux 4.17; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-02-01_00:56:28
Locale: de-DE (de_DE.UTF-8); Calc: group
Comment 7 QA Administrators 2019-09-19 03:15:07 UTC Comment hidden (obsolete)
Comment 8 Patrick Jaap 2019-09-19 05:51:27 UTC
The bug is still present in current master (9c78b8a72895831b33731e17ca7f8c825c19827a)
Comment 9 Timur 2019-09-19 06:48:31 UTC
Created attachment 154279 [details]
The file compared in MSO2016 LO64+

This is not misplaced column but Text Box Shape and it's not related to footer. 
Happens only in attached 2007 DOCX and not if DOCX is resaved in MSO. 

Oliver, if you open multiple bugs for the same file, please connect them via See Also. No need to upload more time, enough to write attachment number and that's the link.
Comment 10 Timur 2019-09-19 07:04:51 UTC
Created attachment 154280 [details]
The file resaved as DOCX in MSO

The file resaved as DOCX in MSO with a duplicate shape outside of footer. Shapes are in good position. 
As I wrote, if shape is duplicated outside the footer and resaved in MSO with compatibility option 2007, it will still open wrong, meaning that it's not footer related.
Comment 11 NISZ LibreOffice Team 2020-10-15 13:10:52 UTC
This is grouped VML-textboxes being converted to Frame objects one of which is in turn incorrectly positioned (7.5 cm relative to Entire page vs relative to Paragraph area: manually changing to this value fixes the layout in Writer) - changing meta bug. 
Also ungrouping in Word seems to solve the issue, so it's related to the grouped VML shapes.
Comment 12 NISZ LibreOffice Team 2020-10-15 13:11:44 UTC
Created attachment 166382 [details]
Screenshot of the original document side by side in Word and Writer

Version: 7.1.0.0.alpha0+ (x64)
Build ID: c064766901722082df0d759c95434c1460fcdba5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL
Comment 13 Gabor Kelemen (allotropia) 2022-01-17 00:03:12 UTC
Still looks the same as on the last screenshot in

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3b48e20b0101584a5e7ef48ba82238e735f0772b
CPU threads: 13; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded
Comment 14 QA Administrators 2025-09-18 03:10:53 UTC
Dear Oliver Sander,

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