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

Theme not updating on tweak when it's set as custom theme in Project Settings #79319

Closed
Grumoth opened this issue Jul 11, 2023 · 2 comments
Closed
Labels

Comments

@Grumoth
Copy link

Grumoth commented Jul 11, 2023

Godot version

4.1 stable

System information

Godot v4.1.stable unknown - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Wed Jul 5 23:49:30 UTC 2023 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (nvidia; 535.54.03) - AMD Ryzen 5 7600X 6-Core Processor (12 Threads)

Issue description

When you set a custom theme in Project settings it doesn't update anymore on real time when you tweak it, so you have to change tabs or reload it in order to reflect this changes.
Real time visual feedback is quite important and this bug consumes a lot of time while checking and reloading tabs.
The workaround would be to set the theme manually in every root node, but it's quite annoying when you have tons of elements in complex UI.

bug_custom_theme.mp4

Steps to reproduce

-Create a new theme
-Set it as custom theme for the whole game in 'gui/theme/custom' in Project Settings
-Tweak any color and see it doesn't update in the viewport
-Change tab and go back and see that now it's updated

Minimal reproduction project

bug_update_theme.zip

@YuriSizov
Copy link
Contributor

Thanks for making a report. This is a duplicate of #33902. Global themes, like the default GUI theme and the custom one that you set in the project settings, do not have a mechanism to signal updates to the scenes that use them at the moment. So this is an old and known limitation.

I have a solution in works though.

@YuriSizov YuriSizov closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2023
@Grumoth
Copy link
Author

Grumoth commented Jul 11, 2023

Ok! Couldn't find that topic, but thank you very much for your response. Hope you find some solution about.
Cheers!

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

No branches or pull requests

2 participants