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

4.3.dev - Deletion not working in the tilemap layers name input field #91582

Open
Unbreathable opened this issue May 5, 2024 · 1 comment
Open

Comments

@Unbreathable
Copy link

Unbreathable commented May 5, 2024

Tested versions

  • This problem is in all dev releases after Godot v4.3 dev 2
  • It is an issue under both wayland and x11 (linux)
  • The latest stable branch (Godot v4.2.2) doesn't have the issue

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

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

  1. Create a Tilemap.
  2. Try to name a layer under the Layers dropdown.
  3. Try to write something in the input and then try to delete the whole thing. Another option would be to click Ctrl+A and then try to delete the entire thing, which also doesn't work.

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.

@Sauermann
Copy link
Contributor

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.

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

No branches or pull requests

2 participants