Bug 135155 - FILESAVE DOCX: Image anchored to character not properly aligned
Summary: FILESAVE DOCX: Image anchored to character not properly aligned
Status: RESOLVED DUPLICATE of bug 112313
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 139153 (view as bug list)
Depends on:
Blocks: DOCX-Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2020-07-26 14:40 UTC by Telesto
Modified: 2023-03-15 14:44 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (341.04 KB, application/vnd.oasis.opendocument.text)
2020-07-26 14:40 UTC, Telesto
Details
The original document and its docx version in 7..2 master (291.50 KB, image/png)
2020-12-02 14:50 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-26 14:40:02 UTC
Description:
FILESAVE DOCX: Image anchored to character not properly aligned

Steps to Reproduce:
1. Open the attached (ODT)
2. Export to DOCX
3. Look at figure 5

Actual Results:
Aligned to the right (image outside frame)

Expected Results:
In the middle


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
7.1

6.0

5.1.6.2

not in
5.0.0.5 -> The export isn't rendered properly in 5.0.0.5 but looks quite OK in 7.1
Comment 1 Telesto 2020-07-26 14:40:14 UTC
Created attachment 163567 [details]
Example file
Comment 2 Xisco Faulí 2020-08-11 08:59:35 UTC
Screenshot missing
Comment 3 NISZ LibreOffice Team 2020-12-02 14:50:23 UTC
Created attachment 167762 [details]
The original document and its docx version in 7..2 master

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 4e63ec27b69fa01ff610c894c9fbf05c377a6179
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL
Comment 4 NISZ LibreOffice Team 2020-12-02 14:51:49 UTC
Confirming, figure 5 is converted from an image caption frame to a DML shape, "somewhat" badly.
Comment 5 Gabor Kelemen (allotropia) 2020-12-22 20:46:23 UTC
*** Bug 139153 has been marked as a duplicate of this bug. ***
Comment 6 Aron Budea 2020-12-26 06:07:21 UTC
Bibisected to the following commit using repo bibisect-win32-5.1. Adding CC: to Caolán McNamara.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=d9aed0bc2e741fa02a6ffdf90193aae7ce471e52
author		Caolán McNamara <caolanm@redhat.com>	2015-09-08 09:45:12 +0100
committer	Caolán McNamara <caolanm@redhat.com>	2015-09-08 11:17:54 +0100

Related: tdf#93676 msword wraps slightly differently than us
Comment 7 NISZ LibreOffice Team 2021-01-20 07:51:13 UTC
Maybe it's related to bug #112313 - here the Figure 4 is also horizontally centered relative to the paragraph area.
Although it's a frame (becoming a shape on export) and not an image.
Comment 8 Justin L 2023-03-15 14:44:37 UTC

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