-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Changing editor font or theme, cause stack overflow #91553
Milestone
Comments
Better stack trace:
It's a stack overflow. |
Just ran into the same crash. The call loop is: EditorProperty::_update_property_bg(); // <-- begin
Control::end_bulk_theme_override();
Control::_notify_theme_override_changed();
Object::notification(NOTIFICATION_THEME_CHANGED);
EditorPropertyResource::_notification(NOTIFICATION_THEME_CHANGED);
EditorProperty::_update_property_bg(); // now we are back A recent commit cba9606 could be related, which refactored many things including void EditorPropertyResource::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_THEME_CHANGED: {
- if (!updating_theme) {
+ if (EditorThemeManager::is_generated_theme_outdated()) {
_update_property_bg();
}
} break;
|
Also occurs when switching themes or changing any theme property, so probably any configuration that triggers a theme reload. |
Chaosus
changed the title
Changing editor font, cause editor crash
Changing editor font or theme, cause stack overflow
May 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested versions
4.3 dev (03e6fbb)
System information
Windows 11
Issue description
Changing Main Font or Code Font resulting a crash with the following call stack:
Steps to reproduce
Change Code Font or Main Font in the editor settings.
Minimal reproduction project (MRP)
No need, requires latest 4.3 build of Godot
The text was updated successfully, but these errors were encountered: