Bug 158481 - Draw in docx improperly imported
Summary: Draw in docx improperly imported
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: DOCX-Grouped-Shapes
  Show dependency treegraph
 
Reported: 2023-12-01 18:16 UTC by Hubert Figuiere
Modified: 2023-12-04 09:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document (40.74 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-12-01 18:16 UTC, Hubert Figuiere
Details
Comparison Screenshot (674.34 KB, image/png)
2023-12-01 18:16 UTC, Hubert Figuiere
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Figuiere 2023-12-01 18:16:18 UTC
Created attachment 191181 [details]
Sample document

Import the attached document into Writer. It was created using MS Office Online. (I created it to test and stumbled upon this)


Compare the rendering between LibreOffice (left) and MS Office Online.

The text inside the rectangle is offset (in the wrong place).


** Version **
Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 24; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-CA (en_CA.UTF-8); UI: en-US
Flatpak
Calc: threaded
Comment 1 Hubert Figuiere 2023-12-01 18:16:48 UTC
Created attachment 191182 [details]
Comparison Screenshot

This is the screenshot mentionned above.
Comment 2 Gabor Kelemen (allotropia) 2023-12-04 09:36:20 UTC
Managed to bibisect under 7.4-linux to:

https://git.libreoffice.org/core/+/0d29394598db2e336a9982cbb7041ea407b2bf6d

author	Attila Bakos (NISZ) <bakos.attilakaroly@nisz.hu>	Mon Feb 07 17:09:42 2022 +0100
committer	László Németh <nemeth@numbertext.org>	Tue Mar 01 17:53:01 2022 +0100
tree 13fccc70320e734ce09f11e6e3f6c68e9da49dd1
parent 16665c48fef0ac178f224cccb1ddced69311835c [diff]

tdf#147126 sw: fix missing as_char anchoring of group textboxes


On top of this, under Linux, the 7.6 and 24.2 repos all crash when loading this, also under Windows the releases/bibisect works similarly unreliably above 7.5 - strange, but maybe just me.
Comment 3 Regina Henschel 2023-12-04 09:54:36 UTC
The hang/crash is reported in bug 158451.

I have already tried to understand what happens, but have yet no idea.

The problem is a group which is anchored 'inline' and has a child shape with text.