Crash when entering notes or rests if no duration is selected
This issue was brought up in this forum post.
Steps to reproduce:
1. Default "Untitled" score.
2. Switch to Re-Pitch mode.
3. Press "0".
Result: crash.
Or:
1. Default "Untitled" score.
2. Switch to Re-Pitch mode.
3. Switch to Step-Time mode.
4. Enter a note with the keyboard or the mouse.
Result: crash.
It is a result of https://github.com/musescore/MuseScore/pull/3556. A full measure rest under the cursor while in Re-Pitch mode will set the input duration to V_MEASURE, which will cause a crash when the user tries to enter a note or a rest, unless the user selects a duration first.
Comments
See https://github.com/musescore/MuseScore/pull/3955.
Fixed in branch master, commit e02b72242f
fix #276160: Crash when entering notes or rests if no duration is selected
Fixed in branch master, commit 37173f2b40
Merge pull request #3955 from mattmcclinch/276160-input-duration
fix #276160: Crash when entering notes or rests if no duration is selected
I realise there is currently no intention for another 2.3 update. But isn't this crash a pretty severe one?
Automatically closed -- issue fixed for 2 weeks with no activity.