Bug 150709 - Autocorrect and toolbar bulleted and numbered list not assigned to style
Summary: Autocorrect and toolbar bulleted and numbered list not assigned to style
Status: RESOLVED DUPLICATE of bug 69724
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: AutoCorrect-Complete Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2022-08-30 20:51 UTC by al F
Modified: 2022-09-01 18:02 UTC (History)
3 users (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 al F 2022-08-30 20:51:50 UTC
Version: 7.3.5.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: nb-NO (en_US.UTF-8); UI: en-US
7.3.5-3
Calc: threaded

Using styles with Writer is mostly very powerful and flexible, with efficient keyboard shortcuts like <CTRL-1> to format the paragraph as Heading 1, <CTRL-0> as Body Text, etc.

But when working with lists, there seems to be no such efficiency. There is AutoCorrect to automatically insert lists when typing "1. some text" or "* some text", or F12 to toggle lists or normal paragraphs, but there seems to be way to make these shortcuts play along with styles. Because of this, using keyboard shortcuts like F12 or AutoCorrect is actually counter-productive unless you happen to like the default formatting.

Confusingly, the menu item Format > Bullets and Numbering... also is completely disconnected from any styles, while the neighbor menu Styles list several numbering styles. Editing these of course has zero effect on lists created via the mentioned method.

Steps to reproduce:
1. Tools > AutoCorrect > Options: Tick "Bulleted and numbered lists".
2. Produce some text preceded by a number and a dot (1. some text) or press F12.
3. Edit the resulting list to your liking (Format > Bullets and Numbering... or F11 to select desired style).
4. Repeat when you need another list.

Reproducible: Always.

Expected / wanted behavior:
1. Tools > AutoCorrect > Options: Tick "Bulleted and numbered lists".
2. Select "Bulleted and numbered lists" and click "Edit".
3. Select preferred style for lists and (optional) edit the style to your liking.
4. Produce some text preceded by a number and a dot (1. some text).
5. Enjoy ordered lists with consistent styling.

In short, ordered lists should default to a paragraph style.
Comment 1 Rafael Lima 2022-08-31 18:23:39 UTC
I support this enhancement. I have gone through this issue many times myself.

Even without ticking "Bulleted and numbered lists", you can still experience this issue. For instance:

1) Create a blank Writer document
2) Enter a few lines of text
3) Select these lines and go to Format - Lists - Unordered list (or use the Toggle unordered list command in the toolbar)
4) Notice that the list has received a generic formatting not associated with any of the list styles (see it in the Styles sidebar under the List Styles category)

IMO the "Unordered list" and "Ordered list" commands should be associated with one of the default list styles.
Comment 2 Heiko Tietze 2022-09-01 08:13:29 UTC
We have several methods to enable lists on paragraph: by auto correction, via UNO command .uno:DefaultBullet (toolbar, sidebar, menu, shortcut), and as a list style (Styles menu or Stylist deck at the sidebar). All methods use their own list style, not a big deal for unordered lists but a source of trouble with numbering. 

So the idea is to apply a default style, which could be "Bullet •" or another "Default unordered list" list style in all ways of interaction. By doing so you would have to change just the default list style.

The idea is not new and has been requested in bug 69724.

*** This bug has been marked as a duplicate of bug 69724 ***
Comment 3 al F 2022-09-01 17:49:26 UTC
Sorry for overlooking the duplicate.

One question: what does UNO in "UNO command" stand for?
Comment 4 Daveo 2022-09-01 18:02:25 UTC
(In reply to al F from comment #3)
> Sorry for overlooking the duplicate.
> 
> One question: what does UNO in "UNO command" stand for?

UNO = (Universal Network Objects)
For more detail see:
https://wiki.documentfoundation.org/Documentation/DevGuide/Professional_UNO