Bug 155711 - LAYOUT DOCX: Parallel wrap occurs in tiny space in LO, but not in MSO
Summary: LAYOUT DOCX: Parallel wrap occurs in tiny space in LO, but not in MSO
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx, notBibisectable
Depends on:
Blocks: DOCX-Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2023-06-06 18:18 UTC by Justin L
Modified: 2023-07-03 20:41 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
parallelWrap.docx: minimal example with parallel wrapping gone awry. (46.93 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-06-06 18:18 UTC, Justin L
Details
parallelWrap_mso2019.pdf: MSO 2010 and 2019 look like this (23.53 KB, application/pdf)
2023-06-06 19:05 UTC, Justin L
Details
parallelWrap2.docx: MSO has broken wrapping when horizontal alignment is left. (46.92 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-06-06 19:07 UTC, Justin L
Details
parallelWrap2_mso2019.pdf: just as broken in 2019 as in 2010 (23.57 KB, application/pdf)
2023-06-06 19:08 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2023-06-06 18:18:03 UTC
Created attachment 187757 [details]
parallelWrap.docx: minimal example with parallel wrapping gone awry.

The problem is that text is being wrapped on both sides of an image in LO, when MSO considers there not to be enough space, and so all the text ought to be below the image.

This is a spin-off from bug 137822's original_file.docx attachment 166802 [details].

There are plenty of reports about wrapping being different between LO and MSO, but I don't recall seeing one specifically calling out parallel wrap as being problematic. It seems like LO crams in as much as it can for parallel wrap and doesn't do any sizing whatsoever.

Steps to reproduce:
-open parallel_wrap.docx

Notice that the numbering is on the left, and the rest of the paragraph wraps on the right in LO.

This appears to happen in earliest times. Not bibisectable with this document because CENTER orientation wasn't working until LO 3.5 - at which point the wrapping was already bad.

Very interesting note: in MSO 2010, if I change the horizontal from center to left, then the 1. is shown and the text "wrapping" is lost underneath the image.
Comment 1 Justin L 2023-06-06 19:05:21 UTC
Created attachment 187759 [details]
parallelWrap_mso2019.pdf: MSO 2010 and 2019 look like this
Comment 2 Justin L 2023-06-06 19:07:42 UTC
Created attachment 187760 [details]
parallelWrap2.docx: MSO has broken wrapping when horizontal alignment is left.

(In reply to Justin L from comment #0)
> Very interesting note: in MSO 2010, if I change the horizontal from center
> to left, then the 1. is shown and the text "wrapping" is lost underneath the
> image.
Attached here just for interest sake.
Comment 3 Justin L 2023-06-06 19:08:42 UTC
Created attachment 187761 [details]
parallelWrap2_mso2019.pdf: just as broken in 2019 as in 2010
Comment 4 Dieter 2023-06-28 08:51:17 UTC
Perhaps I haven't understood everything, but if MSO an LO behave different, what is the expected result? It's also not clear to me, if it was an odt-file originally or a file created with MSO. Sorry for my questions.
Comment 5 Gabor Kelemen (allotropia) 2023-07-03 20:41:44 UTC
Setting to NEW, behavior is different in Writer than in MSO.