1. Type 'test' and select all 2. Format as italic 3. Do 'New style from selection', give it a name and 'Ok' 4. Press 'Esc' and 'newline' Result: In the old line gets the 'Body text' style.
Thank you for reporting the bug. I can not reproduce the bug in Version: 7.5.5.1 (X86_64) / LibreOffice Community Build ID: 2c5e46c1980ec5241359fd65d751dc518205e7af CPU threads: 4; OS: Linux 6.3; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Steps: 1. Open LibreOffice Writer 2. Type "test" 3. Ctrl+A to select all 4. Click italics button to format in italics 5. Styles -> "New style from selection" 6. Enter name "test_it", click "Ok" 7. Hit escape, then enter Result: Style is "test_it" on the current line and previous line containing the test "Text" which was auto-capitalized
Confirm with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7f1012806f5cf2cd53e52d8f2a95c09a2215efbc CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded regression, works in Version: 7.3.7.2 / LibreOffice Community Build ID: 30(Build:2) CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.3 Calc: threaded
This seems to have begun at the below commit in bibisect repository/OS linux-64-7.6. Adding Cc: to Baole Fang ; Could you possibly take a look at this one? Thanks 3a325bcb3c34f233639668170c592800de1d826d is the first bad commit commit 3a325bcb3c34f233639668170c592800de1d826d Author: Jenkins Build User <tdf@pollux.tdf> Date: Fri Jun 2 11:52:13 2023 +0200 source 083975f9666e3dc6fd665dc0418e6c3130628359 151213: tdf#90507: Prevent changing default style in AutoCorrect | https://gerrit.libreoffice.org/c/core/+/151213
This should be a duplicate of tdf#156165. I've already worked a fix on that ticket. It is still under review, but you can try to apply the patch to see if the bug is fixed. https://gerrit.libreoffice.org/c/core/+/154144
Thanks all, marking as a duplicate. *** This bug has been marked as a duplicate of bug 156165 ***