Adjusting a note outside the range of a piano causes a crash when the piano keyboard is visible.

• Apr 13, 2018 - 06:46
Reported version
2.2
Type
Functional
Severity
S2 - Critical
Status
closed
Project

This bug applies to the latest release, as well as the 2.3 branch and the master branch.

To reproduce:

Open any score, or start a new one.
Press P to show the Piano Keyboard.
Press N to enter Note Input Mode.
Click the lowest key on the Piano Keyboard to enter an A0 into the score.
Press the down arrow to move the note down a half step.

At this point, MuseScore will crash due to an array-out-of-bounds error. I have fixed this already (it was my code to begin with), and I will post a patch momentarily.


Comments

Status (old) patch (code needs review) fixed
Status fixed

Fixed in branch master, commit 915a9ecfc5

fix #271325: Adjusting a note outside the range of a piano causes a crash when the piano keyboard is visible.