Bug 89826 - Allow removal/reset of individual style attributes
Summary: Allow removal/reset of individual style attributes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) rc
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
Keywords: needsDevEval, topicUI
: 127708 133107 136341 (view as bug list)
Depends on:
Blocks: Styles-Dialog
  Show dependency treegraph
Reported: 2015-03-04 20:17 UTC by mahfiaz
Modified: 2021-03-15 09:00 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:
Regression By:

Screenshot (95.37 KB, image/png)
2015-03-04 20:17 UTC, mahfiaz
One possible way of expressing Kendy's awesome idea. (72.50 KB, image/png)
2015-03-18 21:19 UTC, mahfiaz

Note You need to log in before you can comment on or make changes to this bug.
Description mahfiaz 2015-03-04 20:17:35 UTC
Created attachment 113891 [details]

Styles inherit options from their parents.
Once you change an option in a child style, there is no easy way to revert one single change so that inheriting the value would work.

IMHO it would be useful, I sometimes miss it.
Comment 1 mahfiaz 2015-03-04 20:31:20 UTC
The attachment screenshot tries to visualise the use case. Main text style inherits everything from the default style unless it has a local override. All the overrides are nicely listed, there just is no way to easily remove override one by one.

You can remove overrides for whole page when opening the page and clicking "Standard" button below the dialog.
Comment 2 mahfiaz 2015-03-18 21:19:58 UTC
Created attachment 114176 [details]
One possible way of expressing Kendy's awesome idea.
Comment 3 Yousuf Philips (jay) (retired) 2015-03-22 00:46:57 UTC
Thought it was my awesome idea. :D
Comment 4 mahfiaz 2015-03-22 06:35:16 UTC
Sorry. I think I need to make a cheatsheet with IRC nicknames, Google aliases, real names and photos.
Comment 5 Robinson Tryon (qubit) 2015-12-13 11:24:26 UTC Comment hidden (obsolete)
Comment 6 Heiko Tietze 2019-10-09 09:21:19 UTC
*** Bug 127708 has been marked as a duplicate of this bug. ***
Comment 7 Eyal Rozenberg 2019-10-09 09:31:27 UTC
I believe this is quite an important feature to implement for enabling complex style hierarchies for documents.

Regarding the mock-up in attachment 114176 [details]: I support this, but would suggest that the pieces of text would be put into "breadcrumbs", i.e. small slabs containing the text, which can be destroyed/deleted using an [x] button on their sides. I think this would be better than a superscript-[x].

Also, I believe this shouldn't be the only UI aspect for reverting/deleting individual settings. I would also like to see deletions, within the parts of the dialog where we actually set values, resulting in reversions to "no setting".
Comment 8 Heiko Tietze 2020-05-18 09:02:59 UTC
*** Bug 133107 has been marked as a duplicate of this bug. ***
Comment 9 Heiko Tietze 2020-09-15 10:35:44 UTC
*** Bug 136341 has been marked as a duplicate of this bug. ***