Bug 166317 - Image anchor in a frame will give inconsistent behaviour compared to DOCX/MSOffice
Summary: Image anchor in a frame will give inconsistent behaviour compared to DOCX/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:
Depends on:
Blocks: Frame
  Show dependency treegraph
 
Reported: 2025-04-23 19:02 UTC by Sven Grewe
Modified: 2025-08-24 17:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
DemoFile created with LO (28.77 KB, application/vnd.oasis.opendocument.text)
2025-04-23 19:04 UTC, Sven Grewe
Details
Using ODT - LO Output (20.10 KB, application/pdf)
2025-04-23 19:05 UTC, Sven Grewe
Details
Using ODT - MSOffice Output (38.68 KB, application/pdf)
2025-04-23 19:06 UTC, Sven Grewe
Details
Using DOCX - the same in LO and MSOffice (20.60 KB, application/pdf)
2025-04-23 19:07 UTC, Sven Grewe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Grewe 2025-04-23 19:02:40 UTC
Description:
Having an image be outside of a frame but placing anchor of it in a frame will cause inconsistencies.

Either LibreOffice or MSOffice or both doesn't seem to conform to the specification? Or the spec is not clear enough? I'm not a dev though.

Steps to Reproduce:
1. Placing an image anchor in an frame.
2. Place the image outside of the frame. Don't change the anchor.
3. (Optionally) save this to DOCX and reopen that. Giving it another look.
4. Opening the ODT (and DOCX) that you created with LibreOffice in MSOffice.

Actual Results:
Formatting errors.

Expected Results:
Works accross the Office Suites without an issue.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-GB
Module: StartModule
OS: Windows/Ubuntu
Comment 1 Sven Grewe 2025-04-23 19:04:24 UTC
Created attachment 200484 [details]
DemoFile created with LO
Comment 2 Sven Grewe 2025-04-23 19:05:50 UTC
Created attachment 200485 [details]
Using ODT - LO Output
Comment 3 Sven Grewe 2025-04-23 19:06:27 UTC
Created attachment 200486 [details]
Using ODT - MSOffice Output
Comment 4 Sven Grewe 2025-04-23 19:07:15 UTC
Created attachment 200487 [details]
Using DOCX - the same in LO and MSOffice
Comment 5 m_a_riosv 2025-04-23 22:05:44 UTC
If it is a bug, then inherited from OOo.
But maybe the difference is Word, resizing the frame with the image inside.

Reproducible
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8049d3f2345d5e6ead9fcb7b84f376fc84b82706
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-GB
Calc: CL threaded