Created attachment 183288 [details] Numbering with conditional formatted paragraph style will be shown right in LO 5.1 - see *.pdf-file. Open the attached *.pdf-file. This will show how conditional formatting for paragraphs should work. Condition in paragraph "Text Body" is set for first, second and third numbering level to different paragraphs (Numbering 1, Numbering 2 and Numbering 3), where different font height has been defined. With LO 5.1.5.2 it will work right: "Text Body" has been choosen. Numbering has been turned on. Font will show the height of "Numbering 1". Numbering has been demoted one level. Font will show the height of "Numbering 2". … With LO 5.2.7.2 (only version of 5.2 I have installed it fails. Font will always be 12 pt. Also the styles "Numbering 1", "Numbering 2" and "Numbering 3" won't be shown in "Applied Styles". Same buggy behavior appears in Version: 7.4.2.3 / LibreOffice Community Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: en-US Calc: threaded
Created attachment 183289 [details] Document for testing - is shown right in LO 5.1, fails since LO 5.2
Created attachment 183298 [details] Shows styles in numbering are not assigned but visible in the styles window.
Created attachment 183299 [details] Shows if you assign the format manually from the styles it works.
I can confirm the bug. But it is a little bit different from Roberts one. On Roberts system you do not see the formatted numbering in 'Styles and Formatting' on LibreOffice 5.2.7 and it is not applied to the paragraphs. I've tested Roberts Writer document from the attachments with LibreOffice 7.4.1 installed on my Linux machine. Here the formatting is still not applied to the paragraphs but you are able to see the numbering (for Numbering 1, Numbering 2 and Numbering 3) in 'Styles' under "Default Paragraph Style -> Text Body -> List". As a workaround, you can select the desired paragraph and do a doubleclick on the appropriate numbering entry in styles. Then the format is applied to the paragraph. After saving, closing and reopening the document, the format is still there. Version: 7.4.1.2 / LibreOffice Community Build ID: 40(Build:2) CPU threads: 32; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: de-DE (de_DE.UTF-8); UI: en-US Debian package version: 1:7.4.1-1~bpo11+2 Calc: CL
Created attachment 183300 [details] Format of the paragraphs is still there after manual assignment, saving and reopening.
(In reply to Richard Kraut from comment #2) > Created attachment 183298 [details] > Shows styles in numbering are not assigned but visible in the styles window. You have set Styles to "Hierarchical", not to "Applied Styles". So you will see all styles which are available. "Applied Styles" will show the styles, which are part of the text I have been writing in the document. Bug is the condition formatting isn't working well for bullets and numbering. It has nothing to do with setting separate styles to every paragraph.
(In reply to Robert Großkopf from comment #6) > You have set Styles to "Hierarchical", not to "Applied Styles". So you will > see all styles which are available. "Applied Styles" will show the styles, > which are part of the text I have been writing in the document. You're right. My mistake.
Bibisected with linux-64-5.2 to aef1e2dde5e53ba8416a393bbe155ef0c18511a7 move SwXStyle entirely into compilation unit There was speculation in bug 103091 comment 14 that the conditions not working with Text Body (now Body Text) would be intentional, but somehow it seems unlikely.
*** Bug 161556 has been marked as a duplicate of this bug. ***