bridge-core / editor

Next generation of bridge., the Minecraft Add-On editor
https://editor.bridge-core.app
GNU General Public License v3.0
144 stars 39 forks source link

[BUG] Bridge crashes after removing project and closing modal #1169

Open Miniontoby opened 3 months ago

Miniontoby commented 3 months ago

Summary I discovered that bridge crashes every single time after you remove a project and then close the modal for selecting a different project Closing the modal is also 'done' by selecting the 'Create project' button, that is why I found out about it. But if you just click the X on the modal for the select project, then it also crashes.

To Reproduce Steps to reproduce the behavior:

  1. Create a test project
  2. Click on the title thingy
  3. Click the delete button (and confirm)
  4. Now close the select project modal (by clicking the X or by clicking Create project button)
  5. Observe result

Observed behavior The bridge editor closed on me after clicking the modal away

Expected behavior I was expecting it to stay open and to do the task I asked it to do:

Screenshots / File Attachments I cannot attach a screenshot of the editor closed I don't have any files that could help

Platform (please complete the following information):

Additional context Already made a thread in Discord over at https://discord.com/channels/602097536404160523/1266381195134894111 But I was thinking it might be better to put it here, so it can be found if something similar happens in the future

outercloudstudio commented 3 months ago

Just tried to reproduce this, and it seems to be working for me. Is there anything else that you think could contribute to the error?

Miniontoby commented 3 months ago

What I did was create a project with just a Skin Pack and that is already enough for me to reproduce it

And it is still a bug, cause I just tested and it still happens!

Miniontoby commented 3 months ago

Oh wait, I just tried also with just the behaviour pack (and also with only the resource pack), and removed the project after everything was loaded in and it even crashed before it updated the list, before me having to close the modal...

I could try to make a video of it...