Bug 156069 - No numbered/bullet list applied in style created by selection
Summary: No numbered/bullet list applied in style created by selection
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-26 21:26 UTC by Pavel
Modified: 2023-07-13 20:01 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 Pavel 2023-06-26 21:26:06 UTC
Description:
No numbered/bullet list applied in a new style created by selection, see "Steps to Reproduce"

Steps to Reproduce:
How to reproduce:
1. Write a text. Set the font, weight, size, color, etc
2. Create a numbered list from this text
3. Select a numbered/bullet list
4. Save this style. Click Styles -> Create Style From Selection -> "Style1"
5. Write other free text
6. Apply the saved style to this text: Right dock menu "Styles" -> "Style1"
Outcome - numbered/bullet list is not applied for this style


Note: We can also reproduce this bug from the right dock menu. 
Paragraph Style -> tab "Outline & List" - no selected list style in this menu

Actual Results:
numbered/bullet list is not applied for new style

Expected Results:
numbered/bullet list should be applied for new style


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 92fc0ace46398eeb6c9238c8292459cc78db6694
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Dieter 2023-07-09 09:56:28 UTC
I can't confirm with

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 77fca616e0bd79e0b405fd0b3543cf8e94e15df3
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Pavel, please open editor for Style1. Tab "outline & lists" should display the list style, you've selected in step 3 (in my case it is "Numbering 123").
Comment 2 Pavel 2023-07-11 08:01:11 UTC
Hi! No, Tab "outline & lists" displays "No list" in this case.
in file numrule.hxx: 
SwNumRule: member mpNumRuleMap is also empty for this case
Comment 3 Justin L 2023-07-13 20:01:40 UTC
WORKSFORME as long as the selected paragraph is referencing a named numbering style (one of the sidebar's Styles - List Styles).

You can see what styles are available in the paragraph styles dialog - under the Outline and List tab.

I wouldn't expect this to work with just any old direct formatting numbering properties.