Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Applying any "Defaults" breaks custom themes #185

Closed
1 task done
tdtrumble opened this issue Jul 8, 2023 · 1 comment
Closed
1 task done

[Bug]: Applying any "Defaults" breaks custom themes #185

tdtrumble opened this issue Jul 8, 2023 · 1 comment

Comments

@tdtrumble
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

When using 'Defaults' menu in settings, changes to UI are always detected so trying to save any setting will update ui-config.css and break custom theming. As soon as new defaults are saved, UI will always load in as default theme.

You can still change it for the session, but I've found no way to fix this via the UI so it saves a selected theme.

When this occurs, I can delete ui-config.css from the main folder and relaunch, it will recreate the ui-config.css file using default and fix the custom theming behavior.

This basically renders the 'Defaults' saving functionality in settings useless.

Steps to reproduce the problem

  1. Go to Settings tab
  2. Go to 'Defaults'
  3. Hit 'View changes' to see it detect changes to: ui_theme/Vars/value and ui_theme/Css/value
  4. Hit 'Apply'
  5. Reload UI, change theme, as many times as you want and watch it always load defaults

What should have happened?

I suppose the correct fix would be to have Settings>Defaults ignore any detected changes to ui_theme/Vars/value and ui_theme/Css/value for this repo, that way the custom theming and persistency between sessions never gets overridden

Version or Commit where the problem happens

b5de227

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows, Linux

What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

Cross attention optimization

Automatic

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

n/a

List of extensions

n/a

Console logs

n/a

Additional information

No response

@tdtrumble
Copy link
Author

Closing. I did a fresh install and can't get the theme to save between sessions. I have no idea what the "expected" behavior is so can't tell whats wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant