[MU4 Issue] When opening score that contains no instruments, "Loading audio samples" stays forever
Describe the bug If you open a score, the "Loading audio samples" message appears in the Status Bar. However, if you open a score that contains no instruments, the loading message stays forever.
To Reproduce Steps to reproduce the behavior:
- Create a score
- Remove all instruments using the instruments panel
- save and close the score
- reopen the score The "Loading audio samples" message appears and stays forever.
Expected behavior If there are no instruments, nothing needs to be loaded, so the loader shouldn't appear at all. However, in practice, the metronome track would still need to be loaded, so the loader should appear only for that metronome track and disappear after that.
Platform information
- OS: reported on macOS
In the current version of MuseScore [1], it is not possible to save a score without instruments, so this should not be possible to reproduce.
[1] MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433
I wonder if #18928. is perhaps related.