Bug 143292 - Misaligned caption name in caption frame after DOCX/DOC export
Summary: Misaligned caption name in caption frame after DOCX/DOC export
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, filter:doc, filter:docx, regression
Depends on:
Blocks: DOCX-Frames
  Show dependency treegraph
Reported: 2021-07-10 12:40 UTC by Telesto
Modified: 2021-08-03 16:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:

Example A (117.03 KB, application/vnd.oasis.opendocument.text)
2021-07-10 12:41 UTC, Telesto
Alternative B (272.55 KB, application/vnd.oasis.opendocument.text)
2021-07-10 12:45 UTC, Telesto

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-07-10 12:40:34 UTC
Misaligned caption name in caption frame after DOCX/DOC export

Steps to Reproduce:
1. Open the attached file
2. Save to DOCX/DOC
3. File reload

Actual Results:
Note the font work frame missing caption (s

Expected Results:
Frame not squeezed in a way that the caption isn't readable anymore

Reproducible: Always

User Profile Reset: No

Additional Info:
As old as 3.3.0


Found in
Version: (x64) / LibreOffice Community
Build ID: bd2f2273d83dcca43eb6b465308707efd45e7adf
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
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL

pretty OK in (caption wise, total page layout kind is off)
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba

DOCX and DOC appear to share the same properties today
Comment 1 Telesto 2021-07-10 12:41:06 UTC
Adding bibisect request for possible pointers
Comment 2 Telesto 2021-07-10 12:41:21 UTC
Created attachment 173483 [details]
Example A
Comment 3 Telesto 2021-07-10 12:45:01 UTC
Created attachment 173485 [details]
Alternative B
Comment 4 Telesto 2021-07-10 12:50:29 UTC
Not that good at analyzing bug docs (nor having an overview of the existing stuff)
Example A: DOCX 'good' until 4.3/ DOC broken from 3.3.0. Currently same layout for both.
Example B: DOC good even today/ DOCX broken since 4.4 (OK, with 4.3) 

I assume both are connected..
Comment 5 Buovjaga 2021-07-19 11:39:31 UTC

Version: / LibreOffice Community
Build ID: b1df9c67349cf4cc5be4128d797aefb87f50e38f
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 6 Buovjaga 2021-08-03 16:46:28 UTC
attachment 173485 [details] DOCX change bibisected with Linux 43max to https://git.libreoffice.org/core/commit/3c0a7cf4f67720f2cca2c4eb543f838d5b644e7f
fdo#75254 Unsupported shape in DML writing was causing document corruption.

I had to use command line, because of a UI bug that silently failed to save:
opt/program/soffice --headless --nolockcheck --convert-to docx --outdir ~/Downloads ~/Downloads/ddd23.odt