Bug 156275 - On creation of new paragraph, current paragraph style changes
Summary: On creation of new paragraph, current paragraph style changes
Status: RESOLVED DUPLICATE of bug 156165
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 beta1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-13 15:50 UTC by Paul
Modified: 2023-07-13 20:26 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Simple document to show problem (39.54 KB, application/vnd.oasis.opendocument.text)
2023-07-13 19:50 UTC, Paul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2023-07-13 15:50:08 UTC
In LO Writer 7.6.0.1 RC, I have a custom paragraph style `_Text Body`, based on the `Body Text` style. 

Every time I leave a _Text Body paragraph by using the Enter key, the current paragraph converts to Body Text. This never happened before.

I just checked, and my custom `_H4` heading style also converts to `Body Text`.

This is true in existing documents and new documents.

The _Text Body style inherits from Body Text. Its Next Style is set to itself. It is not set to auto-update.
Comment 1 Justin L 2023-07-13 19:44:43 UTC
I cannot reproduce in 24.2 (development master).
Please always include an example document (ODT) when you report a bug.
Comment 2 Paul 2023-07-13 19:50:09 UTC
Created attachment 188356 [details]
Simple document to show problem

Ok. Here's a new simple document to show the problem. Thanks.
Comment 3 Stéphane Guillou (stragu) 2023-07-13 20:23:20 UTC
Pretty sure this is the same regression as bug 156165 (see the duplicate there).
Paul, you can confirm by checking that 7.5 doesn't have that bug.

*** This bug has been marked as a duplicate of bug 156165 ***
Comment 4 Paul 2023-07-13 20:26:50 UTC
It sounds like it. Don't know why I didn't see that in my search. Sorry, do not have 7.5 to test it.