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

"Paste Value" does not refresh the displayed values of array/dict elements in inspector #75124

Closed
ajreckof opened this issue Mar 20, 2023 · 2 comments · Fixed by #76711, #80706 or #88231
Closed

Comments

@ajreckof
Copy link
Member

ajreckof commented Mar 20, 2023

Godot version

4.1.dev (4d5f10f)

System information

MacOS 13.1 M1 Pro

Issue description

This is similar to #61188, but only happening on elements of array and dictionaries.

Elements of array/Dictionaries are not properly refreshed when using Paste value on them. The values do change internally but the inspector doesn't show the updated value until it is refreshed manually.
This might be related to the fact that the option to copy property path returns an empty string, but i'm not sure as i don't know how updating the property was implemented.

Steps to reproduce

  1. export an array
  2. Add two element to the array
  3. Change the value of one of the array's element.
  4. copy the value of the one you modified.
  5. Paste the value on the second element. (here nothing visually changed)
  6. click in the tree anywhere except on the node with the exported array then click again on the node (here you will see it has updated and the value was pasted and just not shown)

Minimal reproduction project

N/A

@Calinou
Copy link
Member

Calinou commented Jun 18, 2023

I can confirm this on 4.0.3.stable and 4.1.dev 33957ae (Linux).

@akien-mga
Copy link
Member

Reopening as #76711 was reverted.

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