https://bugs.documentfoundation.org/show_bug.cgi?id=169597

            Bug ID: 169597
           Summary: Paragraph and Character Style "Reset to Parent" Button
                    Neither Clears "Contains" List Nor Alters Style to
                    That of Parent
           Product: LibreOffice
           Version: 25.8.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Pressing "Reset to Parent" in Edit Character Style dialog should 
1) clear all values in General Tab -> Contains Section and
2) make the style appear as its parent does.

However, it does neither.  


Steps to Reproduce:
1. Create custom style "My Heading": F11 -> Right Click in Whitespace of
"Styles Sidebar" -> New -> Name "My Heading"; Inherit From "None"  -> OK
2. Create custom style "My Heading 1" as Child: F11 -> Right Click in
Whitespace of "Styles Sidebar" -> New -> Name "My Heading 1"; Inherit From "My
Heading"  -> OK
3. Apply "My Heading 1" to some text: Highlight some text -> Double click "My
Heading 1"
4. Confirm "My Heading 1" is applied to the text: Click "Spotlight" and confirm
that text receives a colored flag corresponding to the colored flag in Styles
sidebar for "My Heading 1" 
5. Change Child "My Heading 1" in some way.  For example: Right click "My
Heading 1" -> Edit -> Font Tab -> Size -> 21pt -> Apply -> OK
6. Observe that the text changes to 21 point font
7. Observe that child style specifies 21 point in its "Contains" list: Right
click "My Heading 1" -> Edit Style -> General Tab -> "Contains" Section reads
"Western text: 21pt".  Don't close the dialog.
8. Attempt to rest the child style to parent: In same dialog and same tab click
"Reset to Parent".  Click "Apply"

Actual Results:
Nothing happens.  The text to which child style "My Heading 1" is applied does
not change.  The "Contains" section does not change.

Expected Results:
The text to which child style "My Heading 1" is applied reverts to parent "My
Heading" styling.  The "Contains" section becomes empty.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 24; OS: Windows 11 X86_64 (build 26100); UI render: default; VCL:
win
Locale: en-US (en_US); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to