Bug 143241 - Image moves to different page after DOCX/DOC export
Summary: Image moves to different page after DOCX/DOC export
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:
Depends on:
Blocks: DOCX-Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2021-07-07 17:22 UTC by Telesto
Modified: 2025-03-15 03:12 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The original document and its docx version in Writer (151.28 KB, image/png)
2021-07-13 08:09 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-07-07 17:22:37 UTC
Description:
Image moves to different page after DOCX export

Steps to Reproduce:
1. Open attachment 173417 [details] (bug 143239)
2. Save as DOCX
3. File reload


Actual Results:
Curves and polygons moves up a page

Expected Results:
Same as ODT


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.3.0.0.alpha0+ (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
6.0 

and in
4.4.7.2

and in
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 1 NISZ LibreOffice Team 2021-07-13 08:09:23 UTC
Created attachment 173526 [details]
The original document and its docx version in Writer

Indeed looks bad in:

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 0fc020fb73c86a20608e8dff12af607e60327379
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

The third frame has vertical position "Top" to "Paragraph text area".
Upon export to docx and 
* opening in Word this becomes 0 cm below "Line", as this is the most similar thing to "Paragraph text area".
* and opening in Writer (pictured) becomes "From bottom" by 0 cm to "Line of text" - so there is a bit of import problem as well. 
This situation is bug #142875.

Another factor is the second frame, which is horizontally centered and has optimal wrap. See bug #112313 about this situation. 
Indeed: manually changing the wrap in the docx version from Optimal to None fixes the layout in this case as well.
Comment 2 NISZ LibreOffice Team 2021-07-13 08:39:30 UTC
Confirming but not marking duplicate, just in case it isn't one.
Comment 3 Justin L 2023-03-15 15:37:41 UTC
This has a lot of elements of bug 96579 as well.
Comment 4 QA Administrators 2025-03-15 03:12:20 UTC
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug