Bug 142855 - Heading below image after DOCX export (anchored vertical-bottom-of-paragraph)
Summary: Heading below image after DOCX export (anchored vertical-bottom-of-paragraph)
Status: RESOLVED DUPLICATE of bug 142849
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2021-06-14 18:12 UTC by Telesto
Modified: 2023-09-11 19:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (15.89 KB, application/vnd.oasis.opendocument.text)
2021-06-14 18:16 UTC, Telesto
Details
Bibisect log (4.62 KB, text/plain)
2021-06-14 18:31 UTC, Telesto
Details
The example file and its DOCX version in Writer (111.28 KB, image/png)
2021-06-15 06:30 UTC, NISZ LibreOffice Team
Details
The example file and its DOCX version in Word (114.77 KB, image/png)
2021-06-15 06:41 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-06-14 18:12:05 UTC
Description:
Heading below image after DOCX export

Steps to Reproduce:
1. Open the attached file
2. Save as DOCX
3. File Reload


Actual Results:
Notice heading 1  being positioned below the frame

Expected Results:
Above like ODT or DOC


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 239b4bb27fd8db26e8416045b3015688a8b1b0ae
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
Version: 6.4.0.0.beta1+ (x64)
Build ID: 20be5cd0bdc57d812bf34a2debfe48caa51de881
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

and in
4.4.7.2

and in 
4.3.7.2

heading above in
4.2 (except not red)

prior to 4.2 crashing..
Comment 1 Telesto 2021-06-14 18:12:35 UTC
Based on attachment 164149 [details]
Comment 2 Telesto 2021-06-14 18:16:44 UTC
Created attachment 172875 [details]
Example file
Comment 3 Telesto 2021-06-14 18:31:30 UTC
Created attachment 172876 [details]
Bibisect log

# only skipped commits left to test
# possible first bad commit: [aeef06d50079cebaee06870b5acd27e839a7351e] source-hash-78587a7e6a3330bf793fd2a43d258f8a5bac569e
# possible first bad commit: [f75b42edbfec43f8aee7b1f6c46f892c578c6f92] source-hash-fb1931f94724703243c31e6be72267c327052f56
# possible first bad commit: [01339d7e19506fc7768a1a6dc058c5eb39ce1130] source-hash-3a87ba9725ef7e1e9a15c5b7abda87d36c9dc614

Picking:
author	Miklos Vajna <vmiklos@suse.cz>	2013-07-08 12:48:26 +0200
committer	Miklos Vajna <vmiklos@suse.cz>	2013-07-08 13:41:37 +0200
commit 3a87ba9725ef7e1e9a15c5b7abda87d36c9dc614 (patch)
tree 4903f796d9d893d4b31146008a2c04abca0c03c7
parent 9c773140935c056896c79c8380640918b6ea161e (diff)
bnc#822175 DOCX filter: export wrapping of text frames

https://cgit.freedesktop.org/libreoffice/core/commit/?id=3a87ba9725ef7e1e9a15c5b7abda87d36c9dc614
Comment 4 Telesto 2021-06-14 18:34:33 UTC
NISZ might be interested
Comment 5 NISZ LibreOffice Team 2021-06-15 06:30:27 UTC
Created attachment 172883 [details]
The example file and its DOCX version in Writer

Confirming the problem with:

Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 93a3e2f86c27b06062708fe788963a0e49f3a90b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL

Here the vertical alignment of the frame is Bottom to Paragraph text area.
This changes in Writer to Top to Line of text.
Word indicates Bottom to Line (of text), but that's also incorrect, the shape appears above the "I. Application map" heading instead of below it.

This is similar to bug #117692
There the vertical alignment of the frame is Top to Paragraph text area.
This changes to Top to Line of text in Writer.
(hm, this value I see now is not the one on the screenshot of https://bugs.documentfoundation.org/show_bug.cgi?id=117692#c15 - interesting)
Comment 6 NISZ LibreOffice Team 2021-06-15 06:41:07 UTC
Created attachment 172886 [details]
The example file and its DOCX version in Word
Comment 7 Justin L 2023-03-15 20:12:06 UTC
Lots of emulation happening here, since an ODT frame changes to a DOCX drawing something.
Comment 8 Justin L 2023-09-11 19:54:45 UTC

*** This bug has been marked as a duplicate of bug 142849 ***