Description: Undo of changing anchor in docx doesn't restore original layout Steps to Reproduce: 1. Open attachment 163564 [details] 2. Save as DOCX 3. Change anchor of figure 4 from 'as character' to character 4. CTRL+Z Actual Results: Image on top of the page and mismatch frame & content Expected Results: Back to initial Reproducible: Always User Profile Reset: No Additional Info: Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 6ee7a3b2c0565c2871d32d704cb2899445b9f88d 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
Still fine in Version: 7.1.0.0.beta1+ (x64) Build ID: f9fab4203c1aa0b9a3f27ce2713b6d5addc7df19 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: nl-NL Calc: CL
Present Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 3ed9bba283a6a67864c0928186e277240be0d9ba 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
Still fine in Version: 7.0.4.2 (x64) Build ID: dcf040e67528d9187c66b2379df5ea4407429775 CPU threads: 12; OS: Windows 10.0 Build 19041; UI render: Skia/Vulkan; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: CL And Version: 7.1.1.1 (x64) / LibreOffice Community Build ID: 575c5867c4cc13d7ae78f9ce39a54a52ed38c769 CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win Locale: en-US (de_DE); UI: en-US Calc: threaded Note: Seems to be introduced after version 7.1.1.1.
The bug is not reproducible in : Version: 7.2.0.0.alpha0+ / LibreOffice Community Build ID: 1359e8c566970fcef860f7ba7f54a07d8e6e0513 CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
I reproduced with commit 6ee7a3b2c0565c2871d32d704cb2899445b9f88d in Linux 7.2 repo, but not with latest master. I will close as wfm. Arch Linux 64-bit Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: f234fe77a0070927b8ae2ba3309f63aa718624f5 CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 4 August 2021