Project with Sample Track as last track always prompts for a save
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
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
- 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 8a52ddb642d0789fd017fa36e491d187040de594. I didn't look further back.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a project containing only a Sample Track, or with a Sample Track last, then close LMMS without making changes. Trace the project dirty-state or save-prompt handling for Sample Tracks; done means an unchanged project closes without prompting unless it was recovered after a crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100