Bug 156558 - Property "next style" does no longer work for paragraph style
Summary: Property "next style" does no longer work for paragraph style
Status: RESOLVED DUPLICATE of bug 156165
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.1 rc
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Writer-Styles-Paragraph
  Show dependency treegraph
 
Reported: 2023-07-31 17:50 UTC by Regina Henschel
Modified: 2023-08-03 20:37 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
custom paragraph style (51.78 KB, application/vnd.oasis.opendocument.text)
2023-07-31 17:50 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-07-31 17:50:27 UTC
Created attachment 188681 [details]
custom paragraph style

Open attached document. It has a custom paragraph style "code".
Insert paragraph breaks to format the code part the same way as it is shown in the screenshot.

Error: When you press Enter, the line before Enter does not keep its style "code" but changes to "Body Text".

Expected: The line before Enter keeps its style and the following line gets that style which is specified as "next style" in the Organizer tab of the style.

I see the error in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cf8f7b91f41821b79495c0388359c4cb1156ea67
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded

It was OK in Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded
Comment 1 m_a_riosv 2023-07-31 23:50:55 UTC
Reproducible
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1fb3584d61441d864c14ff3376d2fa485edf400b
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Comment 2 Gabor Kelemen (allotropia) 2023-08-03 20:15:08 UTC
This annoyed me recently as well... in a medium level complexity document, this looks super bad. 
QA: how about a quick revert before 7.6 release?

Started in 7.6 by:

https://git.libreoffice.org/core/+/083975f9666e3dc6fd665dc0418e6c3130628359

author	Baole Fang <baole.fang@gmail.com>	Sat Apr 29 20:37:03 2023 -0400
committer	Mike Kaganski <mike.kaganski@collabora.com>	Fri Jun 02 11:41:52 2023 +0200
tree c93d70282acc797c653b6298ed0a274535719cfe
parent 845054aa25b7cba1daa1ff30b142d549027299bd [diff]

tdf#90507: Prevent changing default style in AutoCorrect

Adding CC to: Baole Fang
Comment 3 BogdanB 2023-08-03 20:24:37 UTC
This bug is solved in 7.6 by
https://bugs.documentfoundation.org/show_bug.cgi?id=156165
Comment 4 BogdanB 2023-08-03 20:37:23 UTC

*** This bug has been marked as a duplicate of bug 156165 ***