Musescore 4 crashes when setting notes on ledger lines invisible

• Jan 8, 2023 - 23:46
Reported version
4.0
Type
Functional
Frequency
Few
Severity
S2 - Critical
Reproducibility
Randomly
Status
needs info
Regression
Yes
Workaround
No
Project

(I have only tested with a few instruments and notes but this seems to happen almost any time a note is on a ledger line.)

1) Open Musescore 4 and open/create a score

2) Place a note which is displayed on a ledger line, above or below the staff

3) While the note is still highlighted, open the Properties tab and toggle "Visible"

In the attached screenshot, toggling the "Visible" property will cause the app to immediately crash. Occasionally this will not cause the app to crash the first time, but repeatedly toggling it eventually crashes the app. Expected behavior would be the selected note turning invisible along with the ledger line.
OS: macOS 12.6, MuseScore version (64-bit): 4.0.0-223472200, revision: 5485621


Comments

I can confirm this as well. I noticed crashes but didn't see the pattern at first so I didn't notice the ledger line connection. Now tested and I consistently get a crash every time a note on a ledger line is rendered invisible. Not completely consistent as sometimes a note on a single ledger line does not cause the crash (middle C below treble staff, A above treble staff), but sometime it does. Two ledger lines or more seems to crash 100%. Mac OS 12.6
OS: macOS 12.6, Arch.: x86_64, MuseScore version (64-bit): 4.0.0-223472200, revision: 5485621

Musescore 4 crashed when I was adjusting layout. I found that changing the scaling down one step in page layout fixed all the problems. Format-page layout- scaling.