https://bugs.documentfoundation.org/show_bug.cgi?id=169685
Bug ID: 169685
Summary: Writer styles: “Update Selected Style” creates
inconsistent link between paragraph style and list
style
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 204280
--> https://bugs.documentfoundation.org/attachment.cgi?id=204280&action=edit
Example resultant document
Description:
This issue concerns list formatting applied via a List Style from the Styles
sidebar, not list formatting applied as direct formatting using toolbar
buttons.
When a Paragraph Style that does not define any List Style is updated using
Styles actions > Update Selected Style, based on paragraphs that currently have
a List Style applied, Writer implicitly stores a link to that List Style inside
the Paragraph Style.
After this implicit link is created:
1. Changing the paragraph to a different Paragraph Style that also has no List
Style does not remove list formatting; the paragraph behaves as if the list
formatting were direct formatting.
2. Applying the updated Paragraph Style to another paragraph enables list
formatting, but the indentation does not follow the Position settings of the
List Style that was incorporated into the Paragraph Style through Update
Selected Style.
This occurs with both numbered and bulleted List Styles.
Steps to reproduce:
1. Create several plain-text paragraphs in a new Writer document.
2. Apply a Paragraph Style (for example Numbering 1) to some of the paragraphs.
This style must have no List Style assigned in its properties.
3. With the same paragraphs still selected, apply a List Style from the List
Styles category in the Styles sidebar, either numbered or bulleted.
4. Keep the same paragraphs fully selected (select whole paragraphs that
currently use both the Paragraph Style from step 2 and the List Style from step
3). In the Paragraph Styles category, choose Styles actions > Update Selected
Style to update the paragraph style based on these selected paragraphs.
5. Change one of these paragraphs to Default Paragraph Style (or any other
paragraph style with no List Style). Issue 1: The paragraph remains a list
item, behaving as if the list formatting were direct formatting.
6. Take a previously non-listed paragraph and apply the updated Paragraph
Style. Issue 2: List formatting is enabled, but the indentation does not match
the reference paragraphs and does not follow the Position settings of the List
Style.
Actual results:
List formatting persists after switching to a Paragraph Style with no List
Style defined, as if the List Style had been converted into direct formatting.
Applying the updated Paragraph Style elsewhere produces list items with
incorrect indentation that does not match the Position settings of the List
Style used during Update Selected Style.
Expected results:
List formatting incorporated into a Paragraph Style via Update Selected Style
should behave consistently as a style property.
It should be removed when switching to a Paragraph Style that has no List
Style.
It should be reapplied with correct indentation, respecting the Position
settings of the List Style, when applying the updated Paragraph Style
elsewhere.
Reproduced with:
Version: 25.8.3.2 (AARCH64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 8; OS: macOS 26.1; UI render: Skia/Raster; VCL: osx
Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.