Bug 122370 - Style Heading 1 is not applied to content nor option Numeric with all sublevels is applied to Headings whose levels are superior to level 1.
Summary: Style Heading 1 is not applied to content nor option Numeric with all subleve...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.2.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2018-12-29 15:21 UTC by ricky.tigg
Modified: 2021-05-05 13:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Set styles (11.00 KB, application/vnd.oasis.opendocument.text)
2018-12-29 15:23 UTC, ricky.tigg
Details
Figures to show the problem (759.98 KB, application/vnd.oasis.opendocument.text)
2019-09-04 17:16 UTC, Emersson Augusto Suarez Ortiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ricky.tigg 2018-12-29 15:21:41 UTC
Description:
Style Heading 1 is not applied to content nor option Numeric with all sublevels is applied to Headings whose levels are superior to level 1.

Steps to Reproduce:
1. Use provided ODT-document sample;
2. Apply styles Heading 1, Heading 2 as illustrated in document;
3. Under Side bar -> Styles, select Applied styles;
4. Under Bullets and Numbering -> Outline, apply option Numeric with all sublevels to styles Heading 1, Heading 2;
5. Test in safe mode as well.

Actual Results:
1. Paragraph style Heading 1 does not apply its font size to contents, while it is does to numbered portion.
2. Paragraph style Heading 2 does not apply the numbered portion according to selected option Numeric with all sublevels.
3. Style Heading is exhibited in Side bar -> Styles, while not applied in document.

Expected Results:
1. Style Heading 1 to apply its font size to contents.
2. Option Numeric with all sublevels to apply the numbered portion according to its respective illustration to Headings whose levels are superior to level 1.
3. Only applied styles to be exhibited in Side bar -> Styles.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.1.2.1
Build ID: 6.1.2.1-4.fc29
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-GB (en_GB.UTF-8); Calc: group threaded
Comment 1 ricky.tigg 2018-12-29 15:23:10 UTC
Created attachment 147885 [details]
Set styles
Comment 2 Dieter 2018-12-30 07:21:54 UTC
Ricky, I'm not sure, if I grasp your problem.
I opened the paragraph dialog for styles heading 1 and heading 2.
Numbering style was set to none.

I can't follow your 4th step: "Under Bullets and Numbering -> Outline, apply option Numeric with all sublevels to styles Heading 1, Heading 2;" So could you perhaps (at last for me) give some more infomration about this step?

Additional information: You combine heading with lists. If you qant to create chapter numbering, you should use tools => chapter numbering instead of lists.
Comment 3 ricky.tigg 2018-12-30 15:33:39 UTC
step 4. – While a content to which style Heading 2 with its settings in their default states was applied, select it, right-click, select Bullets and Numbering -> Outline, apply option Numeric with all sublevels -> Press OK.

Expected numbering model for level 2 is 1.1 while model currently produced is 1. While checking Numbering style, its respective setting appears indeed to be set as none, which tends to indicate that previous operation had no effect on the Numbering style. Further investigation also indicates that there is no model available to match the numbering selection Numeric with all sublevels. Though under Organizer tab, under name section, AutoUpdate was checked.
Comment 4 Dieter 2018-12-31 13:30:00 UTC
Thank you for clarification.
I try to explain, why this (in my opinion) is not ab bug. You have two lists ib your document: One list with heading 1 style and one list with heading 2 style. they all are at the same level (level 1). If you want to put them together: right click => bullets and numbering => continue previous numbering. If you want to change the level: right click => bullets and umbering => Demote one level. This is the way you get the 1.1 or 1.2 format.

So I close this bug as NOTABUG. If you don't agree, fell free to change it back to UNCONFIRMED with a reasoning. And again: If you want to create chapter numbering, you should use tools => chapter numbering instead of lists.
Comment 5 ricky.tigg 2019-01-02 11:39:44 UTC
It appears then that the values reported by you testing system – not yet mentioned – and by my system – Fedora (Linux) v.29 – differ from each other. On my system, following sections' values regarding styles Heading 1, Heading 2 are respectively reported by default as:

Outline level, in Outline & Numbering tab – level 1, level 2.
Size, in Font tab – 24, 18 while their respective current sizes are 12 – instead of 24 –, 18.
Comment 6 Dieter 2019-01-02 13:36:08 UTC
O.K., perhaps somebody else can help.
Comment 7 Xisco Faulí 2019-07-08 15:49:30 UTC
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 8 ricky.tigg 2019-07-10 12:10:32 UTC
Used component: AppImage as Fresh:
Version: 6.2.5.2; Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159; CPU threads: 2; OS: Linux 5.1; UI render: default; VCL: gtk3; Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US; Calc: threaded

Same observations under Fedora with provided document Writer_v.6.1.2.1_Styles.odt. As comparison, those observations do not apply to new documents, which indicates that issue is specific to provided document.
Comment 9 Emersson Augusto Suarez Ortiz 2019-09-04 17:13:37 UTC
I have LO Versión: 6.2.4.2 (x64)Id. de compilation: 2412653d852ce75f65fbfa83fb7e7b669a126d64 Subprocs. CPU: 4; SO: Windows 10.0; Repres. IU: GL; VCL: win; Configuración regional: fr-CA (fr_CA); Idioma de IU: es-ES Calc: CL, and when I try to use the header style, specifically the title group, I can see many sub styles like "Title1" to "Title10" all of then take their properties from "Title" Style (Fig1). Then I suppose that if I set the "Title" properties to use the "Numeracion 123" (fig2) numbering style to put 
1. Title 1
1.1. Title 2
1.1.1. Title 3
when I use the Title1 Style I should have the number than I want, but when I try to use then in the main document, I found that it doesn't work how it suppose to do, and when I try to modify the "Title1" Style to attach the "Numeracion 123" numbering style, the field is unavailable (fig3) and it has a default value like "Numeracion de capitulos".

All this situation is very unpleasant when I have to work whit many titles in the main document.
I hope this will be helpful to find out the problem.
Comment 10 Emersson Augusto Suarez Ortiz 2019-09-04 17:16:35 UTC
Created attachment 153879 [details]
Figures to show the problem
Comment 11 Emersson Augusto Suarez Ortiz 2019-09-04 23:18:14 UTC
Please don't give attention, I'm so naive, forget the 9 and 10 entries.
Comment 12 Justin L 2021-05-05 13:37:45 UTC
Hmm. I'm not following this either...

(In reply to ricky.tigg from comment #0)
> Style Heading 1 is not applied to content nor option Numeric with all
> sublevels is applied to Headings whose levels are superior to level 1.
> 
> Steps to Reproduce:
> 1. Use provided ODT-document sample;
> 2. Apply styles Heading 1, Heading 2 as illustrated in document;
Done.  Currently, there is direct formatting that sets size 12.  Although Heading 1 is already selected, when I double-click on it, it resets the size to 24 - both for #1 and for "Linux". Nothing visible changes for Heading 2.

> 3. Under Side bar -> Styles, select Applied styles;
basically an irrelevant step.

> 4. Under Bullets and Numbering -> Outline, apply option Numeric with all
> sublevels to styles Heading 1, Heading 2;
Right-click on a Heading 1 paragraph, but this doesn't apply anything to a STYLE, it only modifies the existing list applied to this paragraph (which is ALREADY numbered), and it is a different list from the one used for the Heading 2 paragraphs. There are no sublevels involved yet - everything is at listLevel 1.
In any case, the defined outline IS applied. If I chose the "A" or bullet list, then I see those changes applied.

[Perhaps you think that "Outline level" of 2 from style Heading 2 should cause it to become something like "1.2."? That is ONLY true when Tools->Chapter Numbering has assigned a style to a listLevel. In this document, there is no style attached to listLevels 1,2,3]

> Actual Results:
> 1. Paragraph style Heading 1 does not apply its font size to contents, while
> it is does to numbered portion.
Can't repro - not even with bibisect 6.1.

> 2. Paragraph style Heading 2 does not apply the numbered portion according
> to selected option Numeric with all sublevels.
Heading 2 is not associated with lists or listLevels at all. It is not defined in Chapter Numbering, and "Numbering Style" is None. Outline Level is irrelevant for numbering and only applies to the TableOfContents.

> Expected Results:
> 3. Only applied styles to be exhibited in Side bar -> Styles.
Heading is a parent to "Heading x", so it is applied, just not directly. It certainly affects the document...