Adjusting a note outside the range of a piano causes a crash when the piano keyboard is visible.
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
See https://github.com/musescore/MuseScore/pull/3628.
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.
Fixed in branch master, commit 91a313b3e3
Merge pull request #3628 from mattmcclinch/271325-piano-range
fix #271325: Adjusting a note outside the range of a piano causes a crash when the piano keyboard is visible.
Fixed in branch 2.3, commit 00c1d417f7
fix #271325: Adjusting a note outside the range of a piano causes a crash when the piano keyboard is visible.
Automatically closed -- issue fixed for 2 weeks with no activity.
See also follow up issue and PR: https://github.com/musescore/MuseScore/pull/3684