If an autosave occurs while a window is open, OpenNBS essentially freezes #442
Labels
C: Bug
Something isn't working
S: Resolved in next release
This bugfix or suggestion has been applied to the code
Milestone
Describe the bug
If you open an inner window (set pitch, velocity, etc) and an autosave occurs, the popup closes but the background stays, essentially locking you out of everything. Because it still saves though, it is possible to restart it without losing any progress.
To Reproduce
Steps to reproduce the behavior:
Open a new song
Ensure autosave is on and optionally, decrease autosave delay as low as possible
Save the song as an NBS file
Add a note to the song
Select the note and open an action GUI on it (pitch, velocity, etc)
Wait for the autosave to occur (this is why you might want to decrease autosave delay)
See error
Expected behavior
I'd say the most optimal solution would be to do nothing, and keep the GUI open when saving as-is.
Video
Minecraft.Note.Block.Studio.2024-03-30.02-02-37.mp4.mp4
Additional context
I was able to find one reference to this in #107, but that seemed to be related to selecting and deselecting notes with somewhat precise timing. However, they did mention they had a GUI open during a save operation, which could have also caused this issue.
The text was updated successfully, but these errors were encountered: