Bug 143136 - ODT: Picture frames are left aligned after DOCX to ODT conversion
Summary: ODT: Picture frames are left aligned after DOCX to ODT conversion
Status: RESOLVED DUPLICATE of bug 141550
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-30 17:23 UTC by Mihai Vasiliu
Modified: 2021-07-07 13:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Convert this document to ODT to observe the frame behaviour (13.67 KB, application/zip)
2021-06-30 17:24 UTC, Mihai Vasiliu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Vasiliu 2021-06-30 17:23:40 UTC
Description:
The picture frame content is moved on the left of the page if the document is converted from DOCX to ODT.


Steps to Reproduce:
1. Create a new LO Writer document
2. Insert a picture and change the anchor point to be 'As Character'
3. Add a caption to the picture (this will create a frame). Make sure the anchor point is still 'As Character'
4. Save the document as DOCX and reopen.
5. Re-save the document as ODT.
6. Close and reopen the ODT.
7. Notice that the picture frame remains in its position, but the contents of the frame is moved at the left side of the page.

Actual Results:
The picture frame remains in its position (just as a placeholder), but the contents of the frame is moved at the left side of the page, and it is misaligned.

Expected Results:
The frame should remain in place. The contents should remain in the frame.


Reproducible: Always


User Profile Reset: No



Additional Info:
If you move the frame just a bit, the contents moves back to the frame, but this is just temporary. On the next reopen the contents moves back to the left.

This does not reproduce if anchor point is As Paragraph.
Comment 1 Mihai Vasiliu 2021-06-30 17:24:38 UTC
Created attachment 173293 [details]
Convert this document to ODT to observe the frame behaviour
Comment 2 Telesto 2021-07-01 07:11:53 UTC
No repro with
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c38d0d501f5eca648bdf0fd2914b57e06f505f7e
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

I do notice other broken behaviour though
1. open the DOCX
2. Change anchor to 'to character' (frame & image falls apart)
3. Change the anchor back to as character and document appears empty
Comment 3 NISZ LibreOffice Team 2021-07-07 13:53:40 UTC
Repro with 

Version: 7.1.4.2 (x64) / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
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

But not anymore with:

Version: 7.2.0.0.beta1 (x64) / LibreOffice Community
Build ID: c6974f7afec4cd5195617ae48c6ef9aacfe85ddd
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

since:

https://git.libreoffice.org/core/+/cb965f2cf6d68c284ccbd8a9635abfdfcc0538ca

author	Attila Bakos (NISZ) <bakos.attilakaroly@nisz.hu>	Thu Apr 01 17:08:58 2021 +0200
committer	László Németh <nemeth@numbertext.org>	Mon Apr 19 10:44:28 2021 +0200

tdf#141550 tdf#141557 tdf#140975 sw: fix textbox crash

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