decentraland / creator-hub

MIT License
0 stars 4 forks source link

Issues when duplicating items #195

Open nearnshaw opened 6 days ago

nearnshaw commented 6 days ago

A few issues when duplicating items in the editor:

1) If I duplicate an item that had a number in the end of the name, the new item adds a second number. If I keep duplicating, I can end up with a ton of numbers.

Image

2) If I select multiple items and duplicate using Right mouse button > Duplicate, it only duplicates the item I had my mouse on. I expect that it duplicates all the items I had selected.

https://github.com/user-attachments/assets/6674efef-fb37-4872-8ae0-8d22c2a64d5d

3) If I select multiple items and duplicate using Ctrl C & Ctrl V, they all get copied, but I'm then only selecting one of them. I expect to have all the newly copied items selected

https://github.com/user-attachments/assets/a4487da5-d9e2-4cf1-a088-1cc19bf09434

4) If I select two items that are nested (a parent and a child), and duplicate using Ctrl C & Ctrl V, I get 3 new items. I get a new child under the old parent + a new parent and its own child. It's like it's doing two separate copy operations, one for each of the selected items. If instead I do the duplicate with Right mouse button > Duplicate, it works as I expected.

https://github.com/user-attachments/assets/58501ba3-5f52-4494-b430-5beb03bf3fbf

5) If I select multiple items and delete them using Right mouse button > Delete, it only deletes the item I had my mouse on. I expect it to delete all the items I had selected.

https://github.com/user-attachments/assets/5ca54b1a-655b-485e-8d73-bf3ff97114ad