Bug 161781 - Application Colors dialog should have a quick way to revert all colors
Summary: Application Colors dialog should have a quick way to revert all colors
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha1+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LibreOffice-Themes
  Show dependency treegraph
 
Reported: 2024-06-25 16:39 UTC by Rafael Lima
Modified: 2024-07-25 18:30 UTC (History)
3 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 Rafael Lima 2024-06-25 16:39:41 UTC
After changing colors in the Application Colors dialog, the user should be able to quickly revert all changes to the "Automatic" value. This is important since there are so many colors to change, and if the user wants to revert to the "Automatic" values, they need to do it one by one.

Notice that clicking Reset will only reset the changes done while the dialog is opened. Previous changes are not reverted.

Steps to reproduce:
1) Consider a default LO installation where no settings have been changed. Go to Tools - Options - Application Colors
2) Make change to multiple colors in the dialog; now click OK to close it and apply the colors
3) Now open the Application Colors again
4) There's no way to revert all changed colors to the Automatic value

Expected behavior
There should be a button capable of reverting all changes made to the color scheme
Comment 1 V Stuart Foote 2024-06-25 16:51:26 UTC
+1, and would hope that Sahil's GSOC work on themes includes something along these lines for clearing Application Colors back to default 'Automatic' values.
Comment 2 Heiko Tietze 2024-06-26 07:17:51 UTC
We provide means to create a different theme right now. The workflow is cumbersome since one has to create a new theme first via => Save, and change the automatically assigned colors then.

We could remove this, have extensions to change the theme (including the system colors) and probably allow tweaking those colors. The defaults System, Light, Dark could be read-only.

I'm not really against the simple revert option but it sounds weird to install an extension with pre-defined colors (among probably some defined as automatic), and to revert all to automatic.
Comment 3 Rafael Lima 2024-06-26 11:36:39 UTC
(In reply to Heiko Tietze from comment #2)
> I'm not really against the simple revert option but it sounds weird to
> install an extension with pre-defined colors (among probably some defined as
> automatic), and to revert all to automatic.

Maybe I really wanted was to revert to the original (default) colors used in the current theme. Not necessarily "Automatic".
Comment 4 Sahil Gautam 2024-07-01 08:59:29 UTC
Now the colors are taken from the system once on start, and for the rest of the application's lifetime (till restart), it uses those copies.

@Rafael, Reset then simply means we set `LoadDefaultSystemColors` to false, so that the system colors are read once more, in case of the `Default Theme`, and we reapply the extension's defaults in case of an extension.
Comment 5 Sahil Gautam 2024-07-01 09:01:57 UTC
**Correction** I meant till reset instead of restart
Comment 6 Faisal 2024-07-25 18:30:42 UTC
It breaks user expectation that after a custom theme is applied, and the user selects "Default look, do not use themes", it does not return to the unthemed status. There is no simple way to untheme LO unless the user closes the document and opens it again.