-
Notifications
You must be signed in to change notification settings - Fork 717
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
Renaming scenes/external events creates duplicate files in the project directory #4120
Comments
I noticed this a while ago too! I was going to report this, but I forgot! Now that you've commented, I can confirm that it happens to me too. I've noticed this since several builds ago! OS. Arch Linux PS: Something similar happens in a topic opened by me a while ago! #3131 |
Hey ! Is someone working on it or can I try to fix that ? |
You can try but this will involve removing files which is risky - you'll need a strong and robust solution here :) |
…al layouts , duplicate files exist. When renaming scenes/extensions/external events/external layouts, duplicate files exist, one with the old name and one with the new name. When deleting this items, the respective files are also not removed from the project directory. This is due to the fact that when saving the project, only the existing files in the project editor are written and saved, and the old ones still remain, potentialy creating duplicates and confusion. Therefore, when saving, we can resolve this issue by deleting all files from the scenes/extensions/external events/external layouts directories, before writing the correct files.
Describe the bug
When a project uses the 'multiple files' setting, and you rename a scene or external event from the UI, a new file is created in the project directory (as expected), but the old one remains too. This causes duplicates and confusion.
To Reproduce
Other details
GDevelop v5.0.138 running on Manjaro Linux (KDE Plasma v5.24.6)
The text was updated successfully, but these errors were encountered: