Bug Hunting Session
Bug 120464 - Creating a new Heading style from standard Heading N style does not inherit outline level
Summary: Creating a new Heading style from standard Heading N style does not inherit o...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Heading
  Show dependency treegraph
 
Reported: 2018-10-09 16:46 UTC by Mike Kaganski
Modified: 2019-04-08 06:15 UTC (History)
2 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 Mike Kaganski 2018-10-09 16:46:50 UTC
When creating a new paragraph style based on a pre-existing Heading N style (or, generally, on a style which is used in Chapter Numbering), the newly created style does not have the parent's outline level (it has "Body text" level). It's natural that participation in Chapter Numbering cannot be inherited; but the level itself should.

The problem here is that users don't expect *some* property of heading styles to not be inherited, and are confused not seeing the newly created styles in Navigator/ToC etc. Also, maintaining the structure could be more difficult in case of changing the level, because children styles need to be modified separately.

Steps to reproduce:

1. Create a new text document.
2. Make sure that Heading 1 is used in Chapter Numbering function.
3. Right-click the Heading 1 style in Styles sidebar pane, and choose New...

Actual:
On the Outline & Numbering page, see that outline level is Body text.

Expected:
The outline level is the same that Heading 1 has. If Heading 1 outline level changes (e.g., editing Chapter Numbering), children that haven't overridden the setting explicitly should also get the change.
Comment 1 Roman Kuznetsov 2018-10-11 16:21:16 UTC
confirm in

Версия: 6.1.2.1 (x64)
ID сборки: 65905a128db06ba48db947242809d14d3f9a93fe
Потоков ЦП: 4; ОС:Windows 10.0; Отрисовка ИП: GL; 
Локаль: ru-RU (ru_RU); Calc: CL
Comment 2 Xisco Faulí 2018-10-12 12:26:27 UTC
Also reproduced in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4