Bug 151629 - Styles->Load Styles from Template should import chapter numbering
Summary: Styles->Load Styles from Template should import chapter numbering
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Templates
  Show dependency treegraph
 
Reported: 2022-10-18 19:55 UTC by Steve Kelem
Modified: 2024-11-09 03:15 UTC (History)
4 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 Steve Kelem 2022-10-18 19:55:10 UTC
Description:
Styles->Load Styles from Template doesn't import Chapter Numbering
It's important to have the same set of Styles for every chapter (separate file) in a book.

Steps to Reproduce:
1.Edit a document, go to Tools->Chapter Numbering. Click on Numbering tab if not already selected.
2.For the first 4 levels, click on the level, set Numbering to 1,2,3,...
3.Click OK.
4.Save document.
5.Open new document.
6.Click on Styles->Load Styles from Template
7.Under Categories, scroll down, select Styles
8.Select Paragraph and Character, List, Frame, Page, Overwrite.
9.Select "From File...", choose the first file, saved above.

Actual Results:
The Chapter Numbering settings are not copied from the first document to the open document.

Expected Results:
I had to find and fill out the Chapter Numbering settings for every chapter that I want to be part of my book.
Chapter Numbering should be part of the saved Styles. If not, why not?


Reproducible: Always


User Profile Reset: No



Additional Info:
The software should have copied the Chapter Numbering when all the other Styles were copied.
Comment 1 Dieter 2022-11-02 06:29:24 UTC
I confirm the behaviour with

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
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

Since chapter numbering is not part of a paragraph styl current behaviour might be the expected one. So I would treat it as enhancement request and add design-team. But if you add all settings of template in the new document, why don't you simply use the template itself?

cc: Design-Team
Comment 2 Heiko Tietze 2022-11-07 15:08:24 UTC
You define the list style per chapter numbering but don't assign it to the paragraph style (Outline > Outline Level; use the top-most Heading in the hierarchy). Works with templates, as Dieter commented, but apparently not for "Load Styles from Template".

Do we miss something, Mike?
Comment 3 Mike Kaganski 2022-11-07 16:25:14 UTC
(In reply to Heiko Tietze from comment #2)
> Do we miss something, Mike?

I don't quite get the question. Anyway, we are free to define how UI works, and IMO it would be reasonable to import chapter numbering settings together with list styles.
Comment 4 Dieter 2022-11-07 16:41:42 UTC
(In reply to Heiko Tietze from comment #2)
> You define the list style per chapter numbering but don't assign it to the
> paragraph style (Outline > Outline Level; use the top-most Heading in the
> hierarchy).

I don't understand this sentence. Heading 1-10 have list style "Chapter Numbering", but I can't see, where this list is defined. It's not part of the list syles in style tab of sidebar. Regarding to LO Help [1] i assme, that it is defined in Tools -> Chapter Numbering. If this is true, chapter numbering is part of the PS and should be imported with "Load Styles from Template". (So I've changed my opinion from comment 1).
Comment 6 QA Administrators 2024-11-09 03:15:15 UTC
Dear Steve Kelem,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug