Bug 147376 - Make 'Add to List' to continue either ordered or unordered lists depending on the current style
Summary: Make 'Add to List' to continue either ordered or unordered lists depending on...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-List
  Show dependency treegraph
 
Reported: 2022-02-11 12:47 UTC by Ulrich Windl
Modified: 2022-12-14 08:14 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example document (13.90 KB, application/vnd.oasis.opendocument.text)
2022-02-11 12:47 UTC, Ulrich Windl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2022-02-11 12:47:46 UTC
Created attachment 178224 [details]
Example document

In a document with nested lists (itemized inside numbered) it's not possible to continue the numbering of the outer list after having entered the inner items.
When marking the outer items and selecting "continue previous numbering", the indent level changes to inner, and the numbered items become itemized.
Comment 1 Ezinne 2022-02-17 07:49:00 UTC
You can select the outer list entries.

Then ctrl-select the entry you wish to add to it.

Right-click and choose List -> Add to List.

You can check TDF#140579
Comment 2 Ulrich Windl 2022-02-17 10:52:29 UTC
(In reply to Ezinne from comment #1)
> You can select the outer list entries.
> 
> Then ctrl-select the entry you wish to add to it.
> 
> Right-click and choose List -> Add to List.
> 
> You can check TDF#140579

Sorry, this sounds messy. My suspect is that when I changed the "format" of the bullet (e.g. bullet vs. number), then a new "list" was created (instead of changing the list format of that level (as I'd expect)).
That would explain why adding another item, and then "going up" one level cannot continue numbering (because it's a new different list).
However: How can the user see that the list is a different list?
I feel that the whole implementation is just wrong (compared to number formatting of headings).
Comment 3 Ulrich Windl 2022-02-17 10:57:12 UTC
(In reply to Ezinne from comment #1)
> You can select the outer list entries.
> 
> Then ctrl-select the entry you wish to add to it.

If I control-select the last two list items and choose "List -> Add to List", the items become unnumbered and are added to the unnumbered list.
That's not what I wanted.
Comment 4 Buovjaga 2022-12-13 12:48:54 UTC
(In reply to Ulrich Windl from comment #0)
> When marking the outer items and selecting "continue previous numbering",
> the indent level changes to inner, and the numbered items become itemized.

Please indicate where we can select this "continue previous numbering". I tried to find it, but failed.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 5 Ulrich Windl 2022-12-13 13:43:10 UTC
(In reply to Buovjaga from comment #4)
> Please indicate where we can select this "continue previous numbering". I
> tried to find it, but failed.

I meant: "List->Add to List"
Comment 6 Buovjaga 2022-12-13 14:56:39 UTC
(In reply to Ulrich Windl from comment #2)
> Sorry, this sounds messy. My suspect is that when I changed the "format" of
> the bullet (e.g. bullet vs. number), then a new "list" was created (instead
> of changing the list format of that level (as I'd expect)).
> That would explain why adding another item, and then "going up" one level
> cannot continue numbering (because it's a new different list).
> However: How can the user see that the list is a different list?
> I feel that the whole implementation is just wrong (compared to number
> formatting of headings).

This comment has the actual issue, adjusting summary. How to hint to the user that there are two lists next to each other?

UX team: I could not find any earlier reports about this.
Comment 7 Heiko Tietze 2022-12-14 08:14:00 UTC
You have two lists, the nested aspect is superficially. "Easy" to follow via the Style Inspector where the ordered list has the id 33935... and the unordered list 6383...

What happens internally is that pressing the ordered/unordered list toolbar button you create a new list style on-the-fly. "Add to List" removes the current list id attribute from the paragraph and adds the other. (List is an attribute of the paragraph.) And apparently we just take the previous list disregarding its type (ordered / unordered). I agree that continuing the same list style is typically desired and we should change this.

(Nested and inner/outer understands indentation as 'level' criteria. That's wrong, the indentation is just one of the many attributes of a list. Using the style is the only attribute that reasonably can be used.)

By the way, the supposed workflow is to create dedicated list styles and assign those to the paragraph. You don't "Add to List" but assign it (look for the second last option at the Stylist).