https://bugs.documentfoundation.org/show_bug.cgi?id=173838
Bug ID: 173838
Summary: Saving file corrupts paragraph style outline level
setting if parent style's outline level is implicitly
set via Tools -> Heading Numbering
Product: LibreOffice
Version: 26.2.4.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Steps to reproduce:
1. Create a new Writer document.
2. Create a new paragraph style that inherits from one of the Heading styles
(for example, Heading 1). Do not set any properties of that style.
3. Set the paragraph style of the initial paragraph in the document to the
style created in the previous step.
4. Save the document, and then reload it (File -> Reload).
5. Open the paragraph style properties (Right-click on the style in the
"Styles" sidebar -> "Edit style..."), ensure that the "General" tab is active,
and observe.
Expected behavior:
5. The "Contains" section does not contain any entries.
Observed behavior:
5. The "Contains" section reads "List Style: (None) + 0", which implies that
the list style and outline level property of the paragraph style have been
explicitly set instead of being inherited from the parent style. I don't know
if the explicit setting of "List style" is completely unintended, because if
the paragraph style is not assigned to an outline level via Tools -> Heading
Numbering, the option "Heading Numbering" in the paragraph style properties
dialog is not really applicable to it. But then, this option should be greyed
out in the first place instead of being selectable and then secretly being
unset when saving the document. But multiple paragraph styles at the same
outline level do make sense, so unsetting the outline level as well is uncalled
for.
This bug was first described in bug 173095, but it turned out that that bug
report was separable into two individual bugs. So the report was constrained to
concern one of these bugs, requiring a new bug report to be opened for the
other one (namely this one).
Here is the information about the version of LibreOffice installed on my
computer (I have updated LibreOffice since filing the other bug report, so my
current version is different from the earliest known affected version):
Version: 26.8.0.3 (X86_64)
Build ID: bce0998afefdbc355585ca324285661a2170ba77
CPU threads: 4; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: de-AT (en_AT); UI: en-GB
Calc: CL threaded
--
You are receiving this mail because:
You are the assignee for the bug.