You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG REPORT] Auto-save timer goes negative and never triggers while a song is playing (v3.12.0-rc.2) #605
English Edition:
While a song is playing, the Auto-save timer counts down past zero into negative values and never fires — no auto-save is performed. As soon as playback is paused/stopped, the timer behaves normally again and auto-save works.
Steps to reproduce:
Open Settings, enable Auto-save, set the interval to 1 minute.
Open a song and press Play.
Observe: the remaining time keeps decreasing past 0 into negative values, and the project is never auto-saved (the file's modified timestamp does not change).
Pause playback — the timer recovers and auto-save fires normally.
Expected behavior:
The auto-save countdown should keep counting in real time and trigger a save at the configured interval, regardless of playback state. It should never go negative.
Possible cause:
The auto-save timer appears to be coupled to the playback clock/tick. When playback is running, the timer is decremented faster than real time and underflows into negatives, so the "time reached 0" condition is never met and the save callback never runs. This looks like a regression of the issue fixed in v3.11.0-beta.3 ("Fixed auto-save ticking down into negatives…"). It seems to have returned in 3.12.0-rc.2.
Environment:
OpenNBS version: 3.12.0-rc.2
OS: Windows 11
.NET version: 13.0
Repro rate: always
Additional context:
No error dialog appears — the timer just silently goes negative and no save happens. Attached: a screenshot of the auto-save timer showing a negative value during playback, and the project file's modified timestamp not updating.
Activity
OctoFlareDev commentedon Nov 22, 2026
This is intended behavior, it should never save during playback since nbs is singlethreaded, it will cause lag.
OctoFlareDev commentedon Nov 22, 2026
but negative value is a cosmetic regression tho