Crash when entering notes or rests if no duration is selected

• Sep 14, 2018 - 07:04
Reported version
2.3
Type
Functional
Severity
S2 - Critical
Status
closed
Project

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