Bug 139661 - FILEOPEN: DOCX: image is displaced from top right corner
Summary: FILEOPEN: DOCX: image is displaced from top right corner
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0 target:7.3.1
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2021-01-16 04:26 UTC by kan
Modified: 2022-01-27 13:35 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
dotx template (324.21 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.template)
2021-01-16 04:26 UTC, kan
Details
pdf showing expected look (284.81 KB, application/pdf)
2021-01-16 04:27 UTC, kan
Details
Comparison LibreOffice 7.2 master and MSO 2010 (223.78 KB, image/png)
2021-02-16 10:29 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kan 2021-01-16 04:26:14 UTC
Created attachment 168928 [details]
dotx template

I downloaded this .dotx template from https://templates.office.com/en-in/brochures and compared how it opens in LO. Pdf generated from MSO is attached telling how it should look.

issue- The image at top right corner has shifted down considerably.
Comment 1 kan 2021-01-16 04:27:24 UTC
Created attachment 168929 [details]
pdf showing expected look
Comment 2 kan 2021-01-16 04:30:58 UTC
I downloaded this .dotx template from https://templates.office.com/en-in/brochures and compared how it opens in LO. Pdf generated from MSO is attached telling how it should look.

issue- on 1st page, image at top right corner has shifted downwards considerably.
Comment 3 Xisco Faulí 2021-02-16 10:29:00 UTC
Created attachment 169778 [details]
Comparison LibreOffice 7.2 master and  MSO 2010
Comment 4 Xisco Faulí 2021-02-16 10:29:28 UTC
Reproduced in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: cbcec4425e04e3614a2025b49fdc221216ac51d3
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 5 Xisco Faulí 2021-02-16 10:41:59 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=27d04f6dbf38aa28fb7215590d578c4567db5770

author	Attila Bakos <bakos.attilakaroly@nisz.hu>	2020-03-19 14:40:36 +0100
committer	László Németh <nemeth@numbertext.org>	2020-04-07 12:44:17 +0200
commit 27d04f6dbf38aa28fb7215590d578c4567db5770 (patch)
tree 1243823be2e628f88b10492ba9f68836e6793af0
parent 9977fbeed1461a8f5cfa8029c02e914c099f3230 (diff)
tdf#119038 DOCX: fix FollowTextFlow handling

Bisected with: bibisect-linux64-7.0

Adding Cc: to Attila Bakos
Comment 6 Aron Budea 2022-01-27 13:22:40 UTC
Looks fixed, reverse bibisected the fixing commit to the following:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=e993638d5ecd33783f2eebdccfa87a81e5a8a2c5
author		Miklos Vajna <vmiklos@collabora.com>	2022-01-24 12:53:25 +0100
committer	Miklos Vajna <vmiklos@collabora.com>	2022-01-24 15:10:24 +0100

DOCX import: fix <wp:anchor layoutInCell="1"> with <wp:wrapNone>