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

Arrays of Objects/Resources are impossible to edit in the inspector #49817

Closed
EricEzaM opened this issue Jun 22, 2021 · 1 comment · Fixed by #52082
Closed

Arrays of Objects/Resources are impossible to edit in the inspector #49817

EricEzaM opened this issue Jun 22, 2021 · 1 comment · Fixed by #52082

Comments

@EricEzaM
Copy link
Contributor

EricEzaM commented Jun 22, 2021

Godot version

v4.0.dev.custom_build [9da7f06]

System information

Windows 10

Issue description

Because the inspector is polling, the property editor for the object is being created every single refresh (by default it is 0.2 seconds, in the video I have it set to 0.8 seconds and then change to 5 seconds to show the difference). The popup menu for object selection is impossible to select from since it disappears immediately (or, more accurately, every 0.2 seconds). I believe this is because the editor is instantiated again every single refresh, deleting the previous popup menu.

Note: in the video, I am only clicking to open the menu, I never click on any items to try select them. Every time the popup menu disappears, it is doing it on it's own. This issue is not apparent in the commit before #45879

This is adversely affecting work I am doing for another PR, which needs to use an Array of objects. If a fix for this could be expedited it would be much appreciated.

object.arrays.bad.mp4

Steps to reproduce

New Scene > Add RichTextLabel > Try edit custom_effects

Try changing your refresh interval to be higher as well... at 0.2 seconds my popup menu basically didn't open at all, or just flashed up for a fraction of a second.

P.S. This menu is showing all objects in the menu, when it should just be showing RichTextEffect. That is another issue, described here; #40383 (comment)

Minimal reproduction project

No response

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

Successfully merging a pull request may close this issue.

2 participants