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
When you close a project which has the last track being a sample track, that hasn't been changed, lmms will prompt for a save.
Steps to reproduce
Load a project with only a Sample Track in it or where the last track is a sample track. It doesn't need to have a sample loaded.
Close lmms
Expected behavior
If you open a project and then close lmms immediately without doing anything else, lmms should not prompt for a save unless it has recovered a project from an earlier crash.
Affected versions
This issue is on master only and it's present on 8a52ddb. I didn't look further back.
The text was updated successfully, but these errors were encountered:
zonkmachine
changed the title
Project with a Sample Track always prompts for a save
Project with only Sample Tracks in it always prompts for a save
Dec 2, 2020
It happens if and only if the last track is a sample track. If the last track is a sample track, SampleTrack::createView() is called after loading the project(otherwise it's handled in the QCoreApplication::processEvents() call in TrackContainer::loadSettings()).
Unlike instrument tracks which creates InstrumentTrackWindow when opening the instrument the first time, SampleTrack::createView() creates a SampleTrackWindow instance and SampleTrackWindow::updateName() sets the text in m_nameLineEdit and it marks the song as modified.
zonkmachine
changed the title
Project with only Sample Tracks in it always prompts for a save
Project with Sample Track as last track always prompts for a save
Dec 28, 2020
Bug Summary
When you close a project which has the last track being a sample track, that hasn't been changed, lmms will prompt for a save.
Steps to reproduce
Expected behavior
If you open a project and then close lmms immediately without doing anything else, lmms should not prompt for a save unless it has recovered a project from an earlier crash.
Affected versions
This issue is on master only and it's present on 8a52ddb. I didn't look further back.
The text was updated successfully, but these errors were encountered: