Bug 153687 - [DOCX] [FILEOPEN] Text is displayed at wrong position
Summary: [DOCX] [FILEOPEN] Text is displayed at wrong position
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx
Depends on:
Blocks: OOXML-Shapes
  Show dependency treegraph
 
Reported: 2023-02-17 11:53 UTC by Dennis Roczek
Modified: 2023-04-13 09:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
DOCX with wrong rendering (65.08 KB, application/msword)
2023-02-17 11:54 UTC, Dennis Roczek
Details
Screenshot 4204 (87.07 KB, image/jpeg)
2023-02-17 16:13 UTC, Telesto
Details
comparison LO 7.6 vs OnlyOffice (416.17 KB, image/png)
2023-04-11 13:15 UTC, Stéphane Guillou (stragu)
Details
DOCX saved in MSO 2016 (32.96 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-04-13 09:33 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Roczek 2023-02-17 11:53:48 UTC
Description:
The text is the complete wrong position and thus the page completely unreadable.

Steps to Reproduce:
open the attached doc.

Actual Results:
see subject, tested at least with some 7.0 LO

Expected Results:
correct rendering


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: 50(Build:3)
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 1:7.5.0~rc3-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 1 Dennis Roczek 2023-02-17 11:54:24 UTC
Created attachment 185436 [details]
DOCX with wrong rendering
Comment 2 Dennis Roczek 2023-02-17 12:04:28 UTC
Sorry for the spamming. It seems that this is a DOCX 2006 file with wrong file attachment. Just realized. The file was sent this way to me.
Comment 3 Stéphane Guillou (stragu) 2023-02-17 12:32:09 UTC
I can confirm that it is all jumbled in:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b52117c0be97c45824d2897657084f8ac7e9bf42
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

But is readable in MS Office:

https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fbugs.documentfoundation.org%2Fattachment.cgi%3Fid%3D185436

Was already jumbled in LO 6.0:

Version: 6.0.0.3
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; 
Locale: en-AU (en_AU.UTF-8); Calc: group

OOo 3.3 does not show the Pyramid at all.
Comment 4 Telesto 2023-02-17 16:13:42 UTC
Created attachment 185446 [details]
Screenshot 4204

(In reply to Stéphane Guillou (stragu) from comment #3)
> Was already jumbled in LO 6.0:

Also in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL


looks pretty decent (not perfect in)
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71
Comment 5 Telesto 2023-02-17 16:17:03 UTC
Adding bibisectrequest. However it's likely not a regression but the result of a different handling of (docx) shapes. I have seen similar issues in the past
Comment 6 Czeber László Ádám (NISZ) 2023-04-11 10:47:16 UTC
Bibisected libreoffice win32-4.3, first bad commit:

commit 798a563db133ebed3876c245459d90ef54ee7c9a	[log]
author	Miklos Vajna <vmiklos@collabora.co.uk>	Wed Dec 04 14:30:43 2013 +0100
committer	Miklos Vajna <vmiklos@collabora.co.uk>	Wed Dec 04 14:52:26 2013 +0100
tree ee7280ae316b30598ec69aa68e0cd8b0e5dfef59
parent e8df1838ec2d4aa52522334e94e77fae00223490 [diff]
Comment 7 Stéphane Guillou (stragu) 2023-04-11 13:15:22 UTC
Created attachment 186581 [details]
comparison LO 7.6 vs OnlyOffice

Comparison between:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fc6806c4be8585ce0d35a6b581bf8b3dbf858500
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

and ONLYOFFICE Desktop Editors version 7.3.3.50 (flatpak).
Comment 8 Timur 2023-04-13 09:33:47 UTC
Created attachment 186634 [details]
DOCX saved in MSO 2016

If original DOCX from Microsoft Macintosh is saved in MSO 2016, it opens wrong in MSO as in LO. I lower the priority here.