Bug 162091 - DOCX-SECTIN: Incorrectly positioned image
Summary: DOCX-SECTIN: Incorrectly positioned image
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Images DOCX-Section
  Show dependency treegraph
 
Reported: 2024-07-18 16:18 UTC by m.pullan
Modified: 2024-08-14 09:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Zip file containing the word document exhibiting the issue and some expanatory screen shots (754.27 KB, application/x-zip-compressed)
2024-07-18 16:18 UTC, m.pullan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.pullan 2024-07-18 16:18:07 UTC
Created attachment 195379 [details]
Zip file containing the word document exhibiting the issue and some expanatory screen shots

After extracting the attached zip file you should find the following files:

1) 667.docx - the actual word document that exhibits the issue.
2) anchor.png - a screen shot showing the position of the anchor when the image is selected.
3) word.png - a screen shot showing the expected layout as presented when the document is opened in MS Word

When viewing the attached word document the image in the document showing a map for Apocopis paleaceus is incorrectly positioned. Just to clarify, this is the first map image in the document 667.docx.

As can be seen in the image anchor.png the anchor point appears in the correct/expected position but the image itself appears to bear no relationship to the position of the anchor. 

All other images in the document appear to be correctly positioned bit they are all laid out in the leftmost column, so perhaps it is an issue arising when the image location flows into the the second column.
Comment 1 Dieter 2024-08-12 11:32:29 UTC
m.pullan, thank You for reporting the bug. I can see the problem when opening the document, but I have two further questions:
Which version of LO you are using (please copy and paste information from Help -> About Libreoffice)?
Is the document created in MS Office or in LO? If it is created in LO please also attach the original odt-file. Thank you
=> NEEDINFO
Comment 2 m.pullan 2024-08-13 09:22:57 UTC
The bug was initially apparent in a very old version of Libre office 7.0.6.2. Obviously I considered that this may be the root of the issue so I updated to the latest release version and the issue was still apparent. 

I have updated the version field in the report form - it now indicates 24.2.5.2.

The document was self generated - i.e. from neither Word or LibreOffice using the Microsoft XML schema documentation as a guide. While I am willing to accept that this may be part of the problem the fact that the document is laid out correctly in Word nevertheless suggests that there is some kind of issue. Either there is a layout issue in Libre Office or Word is better able to compensate for some error in the document structure on my part.

Thanks for takin a look at this.
Comment 3 Dieter 2024-08-14 09:48:02 UTC
Thnak you for further information.

I confirm it with

Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL threaded

Steps:
1. Open file 667.docx from attachment 195379 [details] and have a look at page 2