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
Created attachment 204183 [details] Screenshot of Misbehaving Dialog
Changing Hardware of this bug to "All" from "Windows" because I tested it on the same version after Factory user profile reset on Ubuntu and found the same behavior.
Actually, the behavior might be correct. When I do "Steps to Reproduce" below, it works as I expect if I'm on a particular tab other than "General". For example, if I select "Font" tab AND THEN click "Reset to Parent", the font-related properties properly reset to parent and disappear from the "General" tab "Contains" section. Currently thinking it's NOT a bug, but a slightly confusing UI and oddly documented behavior. Not sure what bug status to select in that case. Thoughts? For now just glad I can do what I need to do.
Yes, the user interface could be improved. The problem is already reported in bug 150543. *** This bug has been marked as a duplicate of bug 150543 ***