Bug 96629

Summary: FILESAVE: OLE equations change positioning after reopening particular DOCX ('To Character' saved 'As Character')
Product: LibreOffice Reporter: ale.carrazzoni
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: timur
Priority: medium Keywords: filter:docx
Version: 4.3.0.4 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104526    
Attachments: tabla_normal.docx
tabla_normal.docx after being saved

Description ale.carrazzoni 2015-12-20 19:43:28 UTC
Created attachment 121453 [details]
tabla_normal.docx

Steps to reproduce:
1. Open tabla_normal.docx file attached
2. Save it on the same format
3. Close LibreOffice and open the file again.

The equations and image are all moved to the left of the text after saving and opening the file. I'm attaching both the original file and the file after being saved
Comment 1 ale.carrazzoni 2015-12-20 19:44:00 UTC
Created attachment 121454 [details]
tabla_normal.docx after being saved
Comment 2 MM 2015-12-21 21:50:41 UTC
Confirmed with v5.0.4.2 under windows 10 x64.

The images that are anchored 'To Character' are saved 'As Character'.
Comment 3 Timur 2015-12-22 10:31:34 UTC
*** Bug 96641 has been marked as a duplicate of this bug. ***
Comment 4 Timur 2015-12-22 10:36:29 UTC
Images in attached DOCX or simplified attachment 121468 [details] are imported correctly, and they are marked 'To Character' in recent versions, at least from LO 4.3.
Before, they were imported and shown wrongly, 'As Character'. I'll mark as 4.3. but this is no regression since saving never worked fine.
On round-trip save to DOCX, images are not saved correctly, and they are marked 'As Character'.
DOCX with images saved in MSO as PDF looks like in attachment 121469 [details].
Comment 5 MM 2015-12-22 19:15:10 UTC
Notice that if you anchor it 'To Page' or 'To Paragraph', on the RT it *also* gets set 'As Character'. So it's not only 'To Character' that's wrong here. And it doesn't only affect the normal docx, but also OOXML.
Comment 6 QA Administrators 2017-12-10 16:38:37 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2019-12-12 03:40:32 UTC Comment hidden (obsolete)
Comment 8 NISZ LibreOffice Team 2020-11-25 08:24:42 UTC
Still a problem in:

Version: 7.2.0.0.alpha0+ (x64)
Build ID: cb084f475db33a2cfc62bc9c8de37b8c3c87b3c7
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Anchor changes from "To Character" to "As Character".
Comment 9 QA Administrators 2022-11-26 03:42:06 UTC Comment hidden (obsolete, spam)
Comment 10 Justin L 2023-06-03 22:28:52 UTC
repro 7.6+