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

After duplicating I'm still on the original #1131

Closed
nearnshaw opened this issue Jul 31, 2024 · 0 comments · Fixed by decentraland/js-sdk-toolchain#1000
Closed

After duplicating I'm still on the original #1131

nearnshaw opened this issue Jul 31, 2024 · 0 comments · Fixed by decentraland/js-sdk-toolchain#1000
Assignees
Labels
bug Something isn't working editor
Milestone

Comments

@nearnshaw
Copy link
Member

nearnshaw commented Jul 31, 2024

After I duplicate an item, on the the entity tree I see like I have the new item I just pasted as selected.
However, I really have the original selected.
This becomes clear only when I edit the properties of the item, thinking I'm editing the duplicate, but really I'm editing the original.

You can see it in this video
I copy a text element, and seems like I have selected the new copy. The entity tree shows that, and it feels like the most logical thing to do. But as soon as I change the text, it really changes the original.

Screen.Recording.2024-07-31.at.2.19.49.PM.mov

Another scenario that seems consequence of the same problem:
If I select multiple items and copy and paste them together, both items are properly duplicated. However, my current selection after doing that action is still only ONE of the original items. I would expect to have selected the two new items after pasting.
This problem passes if I use CtrC & CtrlV. If I right click on the entity and select "duplicate" it behaves as I expected.

@nearnshaw nearnshaw added this to SDK Jul 31, 2024
@nearnshaw nearnshaw converted this from a draft issue Jul 31, 2024
@nearnshaw nearnshaw added bug Something isn't working editor labels Jul 31, 2024
@nearnshaw nearnshaw added this to the Workspace milestone Jul 31, 2024
@nicoecheza nicoecheza self-assigned this Sep 16, 2024
@nicoecheza nicoecheza moved this from Todo to In Progress in SDK Sep 16, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in SDK Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants