Description: In my document, I have a normal paragraph (with one line), followed by an sdt block (with multiple lines). When I open the document with LibreOffice Writer, I find always few empty lines between the paragraph block and the sdt block. Steps to Reproduce: 1. create document with one paragraph. 2. create sdt with four lines, directly after the paragraph. 3. save the document, and open it again. Actual Results: The paragraph should be followed directly by the sdt block. Expected Results: There is three empty lines between the paragraph and the sdt. Reproducible: Always User Profile Reset: No Additional Info: The software should show the paragraph followed by the sdt, without any empty lines between them. Please note the problem is not reproducible when I open the document with Microsoft Word.
Created attachment 186113 [details] Test File
Majd, please let the bug in Unconfirmed status, until someone else can reproduce it, and confirm it.
This is now implemented since 5082d50d24c3fec4487c724a15eb0d54a82ecd0d, I bibisected the implementation in linux-64-24.2 bibisect repo. Commit subject: writerfilter: use content controls for text in block SDTs