Using Inspector after leaving edit mode causes crash.

• Sep 13, 2018 - 15:32
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Saul A2 - S1 - 8 Sinfonia.mscz

In the attached file follow these steps:

In measure 7 for the piano right hand (treble clef) select the first beam
make it horizontal by checking Horizontal in the inspector
double click the beam and put it between the notes at about the G line
In measure 7 for the Violin II select the beam on the third beat (connects C4, E5, A5, E5)
make it horizontal by checking Horizontal in the inspector
observe the crash

Note: if you do not adjust the beam in the piano first, making the violin II beam horizontal does not cause a crash, but changing the piano beam does cause a crash.


Comments

Title Setting beam to horizontal leads to crash. Using Inspector after leaving edit mode causes crash.
Status (old) active patch (code needs review)
Status active  

The issue is much more general than that, and it can be observed with the following steps.

  1. Default "Untitled" score.
  2. Double-click a barline.
  3. Single-click the same barline or a different barline.
  4. Modify one of the barline's properties ("Visible", for example) via the Inspector.
    Result: the program will crash.

This bug was introduced very recently, and there is a patch at https://github.com/musescore/MuseScore/pull/3964.