Describe the bug
After making a new List Property on an object (in my case, Rectangle) and filling it with strings, if you copy and paste the list to another object, it pastes the an apparently empty list of the same name. If you try to edit the blank entries, they won't be saved and become blank again as soon as you click on another object and back. If you try to add new entries, they also won't be saved.
In the .tmx file, the mangled list looks like this:
<property name="ParallaxLayers" type="list"> <item type="std::nullptr_t" value=""/> </property
A workaround is to copy and paste within the tmx file instead of in the editor.
Steps to reproduce
- In an Object Layer, create a new object (Recangle works).
- Under Custom Properties, click Add Property.
- Change the type to "list" and give a name.
- Click Add and choose "string" (other types also have the bug, but I did not try them all)
- Type some text into the new list entry.
- Right click on your new list and choose "Copy".
- Create a second object.
- Right Click under Custom Properties and Paste.
- Notice the list entry is blank. Fill it with some text and save the file.
- Click on another object, then back again. The list entry is empty.
- Open the .tmx and search for your second object. Notice that the list item is of type "std::nullptr_t".
Expected behavior
I expect it to copy the list and its contents over to the second object.
OS version
Windows 11
Tiled version
1.12.1
Describe the bug
After making a new List Property on an object (in my case, Rectangle) and filling it with strings, if you copy and paste the list to another object, it pastes the an apparently empty list of the same name. If you try to edit the blank entries, they won't be saved and become blank again as soon as you click on another object and back. If you try to add new entries, they also won't be saved.
In the .tmx file, the mangled list looks like this:
<property name="ParallaxLayers" type="list"> <item type="std::nullptr_t" value=""/> </propertyA workaround is to copy and paste within the tmx file instead of in the editor.
Steps to reproduce
Expected behavior
I expect it to copy the list and its contents over to the second object.
OS version
Windows 11
Tiled version
1.12.1