YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

Code editor 2: Feather messages will persist through opening different projects, allowing you to open objects that do not exist in the current project #5240

Closed KormexGit closed 7 months ago

KormexGit commented 7 months ago

Description

Using the new code editor, swapping between projects without closing GM can cause feather messages to persist through the project change. This also allows you to open objects through the diagnostics menu, even though those objects do not exist for the currently open project.

https://github.com/YoYoGames/GameMaker-Bugs/assets/100942509/03e1b274-6771-42c6-a33e-fd5579b75f58

Steps To Reproduce

Have two projects that each trigger feather errors. Open one of them, and double click a message to open the offending object. Using the recent projects menu, open up the other project. See if the feather messages from the previous project are still present. If not, swap back and forth until the bug occurs. Double clicking one of the persisting messages will also open the object from the project that isn't open.

Which version of GameMaker are you reporting this issue for?

IDE v2024.400.0.532 Runtime v2024.400.0.551

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

cef00a51-c6fd-47a2-a68d-57e2229b8ed4

KormexGit commented 7 months ago

It appears this bug can also happen, in a slightly different form, when re-opening the same project that was already open. Instead of opening up an object that doesn't exist in the project, it opens two windows for the same object, and changes made in either window can't be saved properly.

https://github.com/YoYoGames/GameMaker-Bugs/assets/100942509/bd4c6f91-c88c-4a15-914d-39c7cdf40c95

gnysek commented 7 months ago

Same with Ctrl + - - it allows to open code from previous project.

alicemoretti commented 5 months ago

The original issue for this is fixed on IDE v2024.600.0.561 Runtime v2024.600.0.579.

However, using CTRL + - or CTRL + + still opens objects from different projects occasionally. I have logged that as a separate issue here (#6027 )

Closing this bug.