You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not reproduce in: 4.0.3.stable, 4.1.2.stable, 4.2.1.stable
System information
Godot v4.3.rc3 - Windows 10.0.19045
Issue description
Exported dictionaries are displaying incorrect keys in the inspector in v4.3. Given a dictionary with multiple entries in the inspector, deleting an entry that is not the lowest entry will appear to delete the bottom-most key instead of the actually deleted key, while retaining the correct values. For example, with a dictionary that has entries {"A":1, "B":2, "C":3}, deleting entry "B":2 will now display {"A":1, "B":3}.
In addition, after deletion of some values, attempting to create entries that have different keys will conjure the spectre of the deleted entries, displaying the deleted keys instead of the ones you actually entered. Given the previous example, adding an entry of "D":4 will then display {"A":1, "B":3, "C":4}. I noticed another presumably related issue: deleting entries, tabbing away and back, and then undoing will display keys as duplicates of the bottom-most entry.
This appears to be exclusively a display error in the editor. If you highlight a different node and return, the values will display their appropriate values.
This issue appears to be a regression from 4.2.
Steps to reproduce
Open the MRP. Alternatively, export a dictionary and add arbitrary values to it (tested with int, string keys).
Open test.tscn in the editor. Look at the exported dictionary.
Delete any value from the dictionary other than the bottom-most one.
Add a new value to the dictionary other than the one that was just deleted.
Tested versions
System information
Godot v4.3.rc3 - Windows 10.0.19045
Issue description
Exported dictionaries are displaying incorrect keys in the inspector in v4.3. Given a dictionary with multiple entries in the inspector, deleting an entry that is not the lowest entry will appear to delete the bottom-most key instead of the actually deleted key, while retaining the correct values. For example, with a dictionary that has entries
{"A":1, "B":2, "C":3}
, deleting entry"B":2
will now display{"A":1, "B":3}
.In addition, after deletion of some values, attempting to create entries that have different keys will conjure the spectre of the deleted entries, displaying the deleted keys instead of the ones you actually entered. Given the previous example, adding an entry of
"D":4
will then display{"A":1, "B":3, "C":4}
. I noticed another presumably related issue: deleting entries, tabbing away and back, and then undoing will display keys as duplicates of the bottom-most entry.This appears to be exclusively a display error in the editor. If you highlight a different node and return, the values will display their appropriate values.
This issue appears to be a regression from 4.2.
Steps to reproduce
Minimal reproduction project (MRP)
dictionary-issue.zip
The text was updated successfully, but these errors were encountered: