Open Unbreathable opened 3 months ago
Clearing the name of the Name input field triggers an internal error, because empty layer names are not allowed. You can see this error mentioned in the console, when you click on "Output" at the bottom edge of the window.
Clearing the Name input field should not result in an internal error, but should be handled more gracefully.
Tested versions
System information
Godot v4.3.dev6 - EndeavourOS #1 SMP PREEMPT_DYNAMIC Sun, 28 Apr 2024 15:59:47 +0000 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (RADV NAVI22) () - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)
Issue description
When going into the Name input of a Layer of a Tilemap like the one below, I'm experiencing not being able to delete the first letter of the name.![image](https://github.com/godotengine/godot/assets/70802809/e8e4a461-e882-4d52-8e42-f1f62abe79c8)
It might sound stupid, but here is a video to show you what I mean because it's really hard to explain: https://github.com/godotengine/godot/assets/70802809/1568f4fa-e78b-4f3e-9ef2-882f32784cf7
Every time the first letter doesn't go away, that's me trying to delete it. When I try the selection it's also me pressing the delete key when it goes away. I hope this is helpful.
Steps to reproduce
Minimal reproduction project (MRP)
I don't think this is necessary since it works in any Godot project I've tried. Just create a Tilemap in an empty project and try to name a layer.