Bug 96629 - FILESAVE: OLE equations change positioning after reopening particular DOCX ('To Character' saved 'As Character')
Summary: FILESAVE: OLE equations change positioning after reopening particular DOCX ('...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium minor
Assignee: Not Assigned
Keywords: filter:docx
: 96641 (view as bug list)
Depends on:
Blocks: DOCX-Formula
  Show dependency treegraph
Reported: 2015-12-20 19:43 UTC by ale.carrazzoni
Modified: 2023-06-03 22:28 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

tabla_normal.docx (38.43 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2015-12-20 19:43 UTC, ale.carrazzoni
tabla_normal.docx after being saved (24.84 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2015-12-20 19:44 UTC, ale.carrazzoni

Note You need to log in before you can comment on or make changes to this bug.
Description ale.carrazzoni 2015-12-20 19:43:28 UTC
Created attachment 121453 [details]

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: (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+