Crash when changing glissando properties in Inspector

• Feb 27, 2015 - 21:01
Type
Functional
Severity
S2 - Critical
Status
closed
Project

1. Open attached score (produced in 1.3).
2. 'View'>'Inspector'.
3. Click on glissando.
4. Change anything in the Glissando section of the Inspector (e.g. tick 'Show Text')

Result: Crash.

Notes:

See attached log.
It is also reproducible in a 2.0 score with a similar description (e.g. 32 bar voice score with the same notes).

Using MuseScore 2.0 Nightly Build 561cae3 - Mac 10.7.5.

(Thanks to Dangthrimble .)


Comments

Crash is due to the GLISS_SHOW_TEXT property not being handled by GlissandoSegment, which is what is actually selected (as opposed to Glissando, which does handle it). Ditto with GLISS_TYPE. Works just fine if the Glissando is selected rather than the GlissandoSegment, and apparently that happens sometimes. Not sure why; might have to do with whether the gliss is short enough that the text is suppressed.

Status (old) patch (code needs review) active

In fact, I'm about to withdraw the patch.

There is an easier cheap fix, routing properties of the whole Glissando from the GlissandoSegment which got select by chance to its 'parent' Glissando.

But in fact, several points of the Inspector for spanners are questionable. Through the Inspector, one never knows -- at least I never know -- if one is managing the whole spanner or one its segment(s) and this applies to several (most? all?) types of spanner. Probably is too late for a general fix, but the matter should be reconsidered soonish.