Bug 150543 - Reset to parent button not working in style dialog, should be grayed out in Organizer tab
Summary: Reset to parent button not working in style dialog, should be grayed out in O...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL: https://help.libreoffice.org/7.5/en-U...
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph-Dialog
  Show dependency treegraph
 
Reported: 2022-08-22 11:24 UTC by Callegar
Modified: 2023-08-18 19:18 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 Callegar 2022-08-22 11:24:38 UTC
Description:
The "reset to parent" button in the "Organizer" tab in the style editor window is meant to assure that values in the "Contains" entry specifying the style variations wrt the parent style are removed. Unfortunately the button performs no action.

Steps to Reproduce:
1. Open a document
2. Select a style and try to edit it
3. Go to the organizer tab
4. Press the reset to parent button

Actual Results:
Nothing happens

Expected Results:
The "contains" entry should be cleared.


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Dieter 2022-09-06 08:28:55 UTC
Can't confirm with

Version: 7.4.0.3 (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Steps:
1. Open Writer
2. Select Paragraph Style "Heading 1" -> Modify
3. Font tab -> Reset to Parent

Actual an expected result:
Font style changes to regular and font size to 14 (parent style "Heading"). In tab organizer font settings of Heading 1 has been removed

Callegar, what is your result with the provided steps?
=> NEEDINFO
Comment 2 Timur 2022-09-06 13:42:49 UTC
(In reply to Callegar from comment #0)
> 3. Go to the organizer tab
> 4. Press the reset to parent button
> 
> Actual Results: Nothing happens
> Expected Results: The "contains" entry should be cleared.

I confirm this but that's NotABug, it's not meant to be used from the Organizer tab. Dieter used it properly, from some other tab. 

If you disagree please set Unconfirmed. 
Maybe this could somehow be improved, but I don't know how.
Comment 3 Callegar 2022-09-07 16:00:43 UTC
Indeed, I realize that from the other tabs it works.

However, I was expecting it to work "tab-wise". Namely, if you use it in some tab, I was expecting it to reset-to-the-parent-style only those entries present in the tab, and if you use it in the organizer tab I was expecting it to reset-to-the-parent-style all the entries.

If the button is meant to be inactive in the organizer tab, probably it should be grayed out there.
Comment 4 Timur 2022-09-07 17:05:42 UTC
Ok, let's consider that as Enhancement.