Bug 132339 - When Changing Heading(X) Numbering Style To "1.1.1.1.1" Subsequent Header(x) Changes The Numbering Is Incorrect!!!
Summary: When Changing Heading(X) Numbering Style To "1.1.1.1.1" Subsequent Header(x) ...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-23 05:16 UTC by Manuel Muro
Modified: 2020-04-24 09:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
This is a sequence of files with the file name providing a description of what steps were taken as well as the order in which the files were created. (116.24 KB, application/gzip)
2020-04-23 05:20 UTC, Manuel Muro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Muro 2020-04-23 05:16:12 UTC
Description:
By default, the various Heading(x) styles do not include numbering. When the Heading(x) numbering style is changed to the "1.1.1.1.1" numbering style, when additional paragraphs are changed to the lower level paragraphs, i.e. Heading2, Heading3, etc., the subsequent numbering sequence is taken from the Heading1 numbering sequence even though the paragraphs are NOT set to Heading1, but rather are set to Heading2 or Heading3 style.

Steps to Reproduce:
1.Create about 8 to 12 dummy paragraphs and select every 4th paragraph and set the style to Heading1
2. Select the first paragraph, i.e. the first Heading1 paragraph, and change the numbering style to "1.1.1.1.1" and refresh to update ALL Heading1 paragraphs
3. Select paragraphs 2 and 3 and set the style to Heading2 as well as change the numbering style to "1.1.1.1.1" and refresh to update ALL Heading2 paragraphs; probably not necessary but just making sure! ;-)
4. Select paragraphs 5 and 6 and set the style to Heading2 and then you should see the error! :-(

Actual Results:
Paragraphs 5 and 6 get numbered "3" and "4", respectively, and appear to get numbered based on the numbering sequence for Heading1 instead of based the Heading2 numbering sequence.

Expected Results:
I was expecting the number for paragraphs 5 and 6 to be "2.1" and "2.2" respectively.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
I will be attaching the reference files to demonstrate this issue.
Comment 1 Manuel Muro 2020-04-23 05:20:09 UTC
Created attachment 159832 [details]
This is a sequence of files with the file name providing a description of what steps were taken as well as the order in which the files were created.

I have not found a good work around for this bug and I am hoping to finish a critical project to help out with the COVID-19 situation, so if there is a known work around it would be greatly appreciated.
Comment 2 Mike Kaganski 2020-04-23 06:24:25 UTC
This is not a bug. The proper and intended way is to use chapter (outline) numbering - see Chapter Numbering in Tools menu. It associates chapter headings styles with numbering, and also with the numbering levels (which is impossible when you associate paragraph styles with normal numbering).
Comment 3 Mike Kaganski 2020-04-23 06:25:12 UTC
FTR, the topic in help:

https://help.libreoffice.org/6.4/en-US/text/swriter/guide/chapter_numbering.html
Comment 4 Manuel Muro 2020-04-24 09:28:45 UTC
Thanks Mike for the pointer. However, the behavior is still less than ideal as the "Update Style" button was also used.

More importantly, thanks to your help, I was able to find a mechanism to get the numbering to work properly!!! :-)
Comment 5 Mike Kaganski 2020-04-24 09:38:50 UTC
(In reply to Manuel Muro from comment #4)
> Thanks Mike for the pointer. However, the behavior is still less than ideal
> as the "Update Style" button was also used.

Can't understand what was meant, and how "the "Update Style" button was also used" leads to "the behavior is still less than ideal". Do you mean that "as I used that button, XXX should had happen, but YYY had happened in fact, so it's bad"? or what?
Comment 6 Manuel Muro 2020-04-24 09:53:06 UTC
When I selected an individual paragraph, using a "Heading2" as an example, and launched the paragraph property to set the "Numbering" style to "1.1.1.1" for this heading type and even set the numbering levels to be shown to 2, with the same single paragraph selected, next to the Style drop down list, I use the button titled "Update Style (Shift+Ctrl+F11)", I was expecting that the numbering for ALL current and FUTURE "Heading2" paragraphs would use this new numbering style selected. I hope this make sense.

But as long as there is a method that works, I am SUPER happy, as my backup option would have been to manually number the paragraphs! This is my first real project make a heavy duty use of LibreWriter, so I am just treating this as part of my learning curve!