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

Exported PackedStringArray loses focus after each character is typed #78712

Closed
QueenOfSquiggles opened this issue Jun 26, 2023 · 2 comments
Closed

Comments

@QueenOfSquiggles
Copy link

Godot version

4.1.beta3.mono [ada712e]

System information

Godot v4.1.beta3.mono - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Sun Jun 4 12:31:46 UTC 2023 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (nvidia; 530.41.03) - AMD Athlon(tm) X4 880K Quad Core Processor (4 Threads)

Issue description

For any script (GDScript and C# tested) that is exporting a PackedStringArray, the inspector behaves strangely. When adding an element in the editor, the LineEdit loses focus after each character is typed. So between typing each character I have to click on the element again.

image

For example, after typing the "a", the element lost focus and my further typing goes nowhere.

Steps to reproduce

Create a script that exports a PackedStringArray
Try to add an element with more than one character.

Minimal reproduction project

Can be recreated very quickly. Any script exporting a PackedStringArray (GDScript and C# tested).
Minimal example project can be found here: https://github.com/QueenOfSquiggles/PackedStringArray-Bug-Example

@Sauermann
Copy link
Contributor

Can confirm in v4.1.beta3.official [ada712e]
This is no longer reproducible in v4.1.beta.custom_build [afc5fa1].

My guess is, that it got fixed by #78643.

@akien-mga
Copy link
Member

Thanks for testing!

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

4 participants