Bug 160434

Summary: Paragraph style assignment doesn’t overwrite „List Style Name“ attribute
Product: LibreOffice Reporter: Tyler <t>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: dgp-mail, mikekaganski
Priority: medium    
Version: 7.6.5.2 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description Tyler 2024-03-30 18:52:40 UTC
Version: 7.6.5.2 (X86_64) / LibreOffice Community
Build ID: 38d5f62f85355c192ef5f1dd47c5c0c0c6d6598b
CPU threads: 16; OS: Linux 5.10; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded


* Apply a list style other than "No list" to the current paragraph.
* In the Style Inspector, "List Style Name" will show up under "Paragraph direct formatting" (as expected).
* Assign a a paragraph style that has List Style = "No List" in the Outline & List tab, such as "Default Paragraph Style" or "Body Text".
* In SI, the paragraph style shows up (as expected), but "List Style Name" is still present in the "Paragraph direct formatting" section.

Expectation:
* "List Style Name" vanishes from the "Paragraph direct formatting" section in SI.
* The paragraph's enumeration symbol/number is removed.

It doesn’t matter if the paragraph direct formatting attribute was created intentionally (Styles→Bullet… or Styles→Numbering…) or unintentionally by way of bug154748.
Comment 1 Dieter 2024-04-14 12:10:00 UTC
I confirm the described behaviour, but I dont think, that this is a bug. I can see same behaviour with character direct formatting: Paragraph style doesn't remove it.

@Mike: I remember, you're an expert with DF and PS. Can you give some insights? Is it perhaps a lack of information in documentation? I couldn't find any introduction into the relationship between styles an direct formatting