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: 2023-09-18 15:42 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