Skip to content

Theme editor fields lose focus after typing value in them #112338

@romgerman

Description

@romgerman

Tested versions

v4.5.1.stable.official [f62fdbd]
Seen in 4.4+

System information

Godot v4.5.1.stable - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 Ti Laptop GPU (NVIDIA; 32.0.15.7703) - AMD Ryzen 5 5600H with Radeon Graphics (12 threads) - 15.34 GiB memory

Issue description

Not sure if this ever worked properly because I just started working closely with the theme editor but have seen this behaviour before.

When you try to TAB out to the next field in the constant fields panel after typing in a value the next couple of TABs will work properly but then the whole editor UI will lose focus.

If you don't enter anything and just switch between fields with TAB it will work fine.

Steps to reproduce

  1. Create a new theme
  2. Add MarginContainer to the theme editor
  3. Enable all 4 margins in the constants panel
  4. Enter the first margin and try to switch to the next using TAB
godot_8R2gVtNVKw.mp4

Minimal reproduction project (MRP)

Not project specific.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    For team assessment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions