Skip to content

Project GUI Theme settings don't apply/inconsistent behavior #33902

Closed
@hammeron-art

Description

@hammeron-art

Godot version:
3.2.beta.custom_build.(fa4f525)

OS/device including version:
Windows 10

Issue description:
I can set a custom default theme and font in Project Setting -> General -> GUI -> Theme. It affects the running game but it doesn't affect the nodes in the scene unless I restart the editor. Changes in the theme don't take effect immediately as well.

When I set a Control's theme directly, the changes update immediately. There should be no need to restart the editor to apply the default theme.

Also, the project's font always replaces the theme's even when it's null. For example, when the theme has a default font and there is no custom default font in the project settings, the theme's font is ignored.

Steps to reproduce:

  • Create a customized theme resource with a customized default font
  • Set a path to it in Project Setting -> General -> GUI -> Theme -> Custom
  • It takes no effect in the editor
  • Run the game
  • It takes effect in the game but the theme's font is ignored

Minimal reproduction project:
ProjectTheme.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions