2.2.10 - Crash When Dragging Note to Score from Pallete

• Jun 24, 2018 - 11:57
Reported version
S2 - Critical

2.2.10 + MDL 0.10

Dragging Note to Score from Drumset palette causes crash.


Confirmed. For the record, this isn't actually a supported method of note entry and never actually worked, but obviously it shouldn't crash either :-). The crash is new to 2.3, and has to do with trying to layout the stem of a note that at this point has been given one. I assume it is related to the changes to stem alignment. I could prevent the crash easily enough by just checking for no stem before laying out the note, but in case the true cause is deeper, I'll let someone more familiar with that code take a look.

We incorrectly create the chord when starting dragging. I want to suppress using drag&drop with drum palettes at all. Any thoughts?

Status (old) fixed active
Status fixed active
Reported version 2.3 3.0

Even if currently master doesn't crash on this, the fix that went into 2.3 should go into master too, at least it won't harm there

Status (old) active fixed
Status active fixed

Fixed in branch master, commit e65d9ce854

fix #273633: crash when drag&drop notes from drum palette

manually merge from 2.3. see 6c0bd3aff0ba91a4c790810d8d860ae78e022d22

Status (old) fixed active
Status fixed active

Drag & drop was never supported that I know of. It doesn't actually work in 2.1 or 2.2 unless you are very careful to drop right on top of an existing note or rest. Not sure that was ever intended. Also seems to work to rearrange notes within the drum palette, which is kind of cool but again I have no idea if that was ever actually intended.