Description: Enter key pressing adds empty paragraphs above image and it moves the image down instead a new empty paragraph adding below the image Steps to Reproduce: 1. Activate AutoCaption feature in Writer using Tools->Options->LireOffice Writer->AutoCaption, check LibreOffice Writer Image on right side 2. Open a new Writer document 3. Select Insert image icon on the toolbar 4. Select some big picture (it should be wider than text area width in the Writer docs) and insert it into the document 5. Enable showing of Formatting Marks by select the Toggle Formatting Marks icon on the toolbar 6. Click in the empty paragraph below inserted image and press Enter key => it inserts the empty paragraph above the image and the imave is moved to down Actual Results: Enter key pressing adds empty paragraphs above image and it moves the image down instead a new empty paragraph adding below the image Expected Results: Enter key pressing adds empty paragraphs below image and it doesn't move the image down Reproducible: Always User Profile Reset: No Additional Info: Version: 6.4.5.2 (x86) Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6 CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: GL; VCL: win; Locale: ru-RU (ru_RU); UI-Language: en-US Calc: CL but no repro in Version: 6.3.5.2 (x86) Build ID: dd0751754f11728f69b42ee2af66670068624673 CPU threads: 4; OS: Windows 6.1; UI render: GL; VCL: win; Locale: ru-RU (ru_RU); UI-Language: en-US Calc: CL => regression
I bisected it and got https://git.libreoffice.org/core/commit/d0aa2dbdf37aefe5b8d096fc5ea50cd13f87c5b0 https://gerrit.libreoffice.org/c/core/+/84513 Added to CC: Miklos Vajna. Could you please take a look? Thanks btw it's still rerpo in Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: c81f4a4ecbfa7dc97d8c28b5ec5f00d1d561b6bb CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: ru-RU Calc: CL
Created attachment 180203 [details] Image example for inserting
*** This bug has been marked as a duplicate of bug 146445 ***