Bug 144086 - Custom List Styles associated with Paragraph Styles have no effect.
Summary: Custom List Styles associated with Paragraph Styles have no effect.
Status: RESOLVED DUPLICATE of bug 62032
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-25 17:00 UTC by Ronald L Blanshine
Modified: 2021-10-12 08:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald L Blanshine 2021-08-25 17:00:45 UTC
Description:
f one creates or edits a paragraph style and opens the "Outline & Numbering" tab and selects a valid outline level from the drop-down list and does the same in the "Numbering Style" drop-down list, then saves the paragraph style such that there is a paragraph style associated to at least two or more levels of a List Style, then uses one of those paragraph styles in a document and changes either the outline level or the paragraph style, the respective associated paragraph style or outline level does not change also as it does with styles associated with Chapter Numbering outline levels.  This must be done manually.

Steps to Reproduce:
1. Create or edit a paragraph style.
2. Open the "Outline & Numbering" tab, select a valid outline level from the drop-down list.
3. Select a valid List Style from the "Numbering Style" drop-down list.
4. Save the paragraph style such that there is a paragraph style associated to at least two or more levels of a List Style.
5. Change either the outline level or the paragraph style.

Actual Results:
1, Selecting the paragraph style does not change the outline level to that associated with the paragraph style.
2. Changing the outline level changes the paragraph number style, but the paragraph style does not change to align to the paragraph style associated with that outline level and that List Style.

Expected Results:
For Chapter Numbering:

1. If one selects the paragraph style, the outline level automatically changes to match that style but that is not what happens when a custom List Style is used, outline level stays the same.
2. If one changes the outline level, the paragraph style also changes to align to the paragraph style associated with that outline level.

That is the way that it should work with Custom List Styles also.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.1.5.2
Build ID: 1:6.1.5-3+deb10u7
CPU threads: 2; OS: Linux 4.19; UI render: default; VCL: gtk3_kde5; 
Locale: en-US (en_US.UTF-8); Calc: group threaded

Installed on Debian 10

This problem was duplicated exactly in Version 7.2.0.4 on a Windows 10 machine but I am sending this from my Linux machine.

More Comments:

With Chapter Numbering, at each outline level, there is a drop-down box where a single paragraph style may be chosen.  No such option exists when defining the outline levels for Custom List Styles.  On the other hand, when defining paragraph styles, one can select both an outline level and a List Style for each paragraph style, permitting more than one paragraphs styles for each level of the List Style, which could cause problems in the program.  Although there are several ways to resolve this confusion I will mention the one I favor:

1. For each outline level of a Custom List Style, permit the selection of one or more paragraph styles, similar to the method used in Chapter Numbering but with multiple assignments possible in some order either selected by the user or assigned chronologically wherein the top assignment in the list would represent the default.
2.1. I would suggest the format to be a rolling list of all Paragraph Styles currently assigned to that List Style Level with the default at the top.  A right click on any item in that list provides a drop-down list with three choices.
2.1.1. Add a Paragraph Style to the list which opens a blank position at the top of the list with a drop-down list of all Paragraph Styles below the blank position.
2.1.2. Assign the selected Paragraph Style as the new default Paragraph Style for that List Style Level.
2.1.3. Unassign the selected Paragraph Style from that List Style Level.
2.2   The program should use the last Paragraph Style used at that point in the document as the next Paragraph Style for that List Style Level or,
2.2.1. If no style has yet been used at that List Style Level, then the default style would be used.  As this situation is the only time a default is required, the order of the list is superfluous beyond the assignment of the default Paragraph Style at that List Style Level.
2.2.2. If no paragraph style is assigned to the List Style Level, simply use the Paragraph Style of the preceding paragraph as is already implemented, but do not require a Paragraph Style to be selected for each or for any of the Custom List Style outline levels.
2.3. Moreover, if one would select an outline level and a List Style for a Paragraph Style as is currently possible in the “Outline & Numbering” tab, this would simply add that relationship to the list of Paragraph Styles for that List Style Level and make that List Style Level a required numbering style for that Paragraph Style or, leaving those selections as “body text” and “none” would not require the Paragraph Style to be associated with a numbering style unless manually selected from the list of “List Styles” or if it was previously used in a List Style Outline in the document which would cause the program to default to using that Paragraph Style in that outline stream as previously noted above.
3. I can see great usefulness in being able to associate an outline level and List Style pair to more than one paragraph style, but only if it works the way I describe.  Moreover, the way it works now, there is really no reason nor effect in associating a paragraph style with a List Style as the association must be handled manually anyway.
4. I consider this a bug as it severely limits the usefulness of List Styles and there seems to be no rational reason to associate a paragraph style to an outline level or a list style in this current state.
5. Moreover, I have noticed that if one assigns a Paragraph Style to a Chapter Number Paragraph Style and then assign a List Style to that paragraph, it is impossible to get the paragraph to go back to Correct Numbering style without using the go-back button or, placing a new paragraph above it and apply the correct paragraph style to that paragraph then delete forward from the end of that paragraph and hit return which forces the paragraph style and numbering style on that paragraph.  Hence, I would also suggest including the Chapter Numbering style in the List Style list as a default which cannot be deleted from the list.
Comment 1 Dieter 2021-09-09 13:37:21 UTC
(In reply to Ronald L Blanshine from comment #0)
> Steps to Reproduce:
...
> 4. Save the paragraph style such that there is a paragraph style associated
> to at least two or more levels of a List Style.

I think, this is not possible. You can only associate a paragraph style to one outline level, see LO help:

Outline level
Assigns an outline level from 1 to 10 to the selected paragraphs or Paragraph Style. Select Text Body to reset the outline level.

https://help.libreoffice.org/7.2/en-GB/text/swriter/01/05030800.html?System=WIN&DbPAR=WRITER&HID=modules/swriter/ui/numparapage/NumParaPage#bm_id3145415

Does this information solve your problem?
=> NEEDINFO
Comment 2 Justin L 2021-10-12 08:29:08 UTC
Outline level is very different from "list level", and your explanation is talking about list level. (Outline level is strictly used for the table of contents AFAIK, and has no direct effect on the paragraph itself.)

Currently, LO _only_ supports assigning a list level via the special chapter numbering. Making this a more general/natural thing is the topic of bug 62032, which has made some progress in LO 7.3.

*** This bug has been marked as a duplicate of bug 62032 ***