Steps to reproduce: - open existing odt document - mark a piece of text, replace it with another text from clipboard keeping the formatting of the inserted text --> when inserting without formatting the issue does not occur - undo it Result: the previous text is inserted at another position in the document, the position of the inserted prevoius text does not change when reproducing the issue (no random position).
Created attachment 194507 [details] example video
Created attachment 194508 [details] test file
Confirm with Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: e3bd3c7e3178dc091fd002628f052666b4db3be6 CPU threads: 4; OS: Windows 8.1 X86_64 (6.3 build 9600); UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL threaded fine with Version: 7.6.3.0.0+ (X86_64) / LibreOffice Community Build ID: 35f19e5cb93ce218787904e99c2bedfd40e725cc 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 threaded
This seems to have begun at the below commit in bibisect repository/OS linux-64-24.2. Adding Cc: to Tomaž Vajngerl ; Could you possibly take a look at this one? Thanks 7d88ba79576f9cf91a9366bf526b0eb428ddadb0 is the first bad commit commit 7d88ba79576f9cf91a9366bf526b0eb428ddadb0 Author: Jenkins Build User <tdf@maggie.tdf> Date: Fri Dec 1 08:33:57 2023 +0100 source 4b0fa253a4540f5461397815d290586f9ddabe61 157860: tdf#136472 adjust ooxml import to handle first header/footer | https://gerrit.libreoffice.org/c/core/+/157860