[Trunk] Applying arpeggio to note with tie before it causes crash
1. Create score.
2. Create two chords and tie them.
3. Apply arpeggio to the second chord.
Expected behaviour: Disable the ability to add an arpeggio to a note that has a tie before it.
Actual behaviour: Crash.
Discussion: If you open a file with the arpeggio applied (attached), it crashes too.
Using MuseScore 2.0 nightly build (4233) - Mac 10.4.11.
Attachment | Size |
---|---|
Arpeggio Inbetween Tie.mscz | 1.51 KB |
Comments
On the subject of adding things to a note with a tie before it, should you also be allowed to add a number of other things in the palette, etc (such as a sforzando)?
The attached score (original post) was created in 1.0 - opening it in 2.0 causes a crash.
Would also be good to create something that discards the arpeggio when opening the score attached in the first post - if applied to a tied note, but maybe not removed entirely if you consider other notes in a chord (see #10578: Arpeggio length should only cover applicable notes).
Crashed in renderArpeggio one zero-devide in chord.cpp.
Will check in fix tomorrow. Score now opens and nonsensical arpeggio can be deleted by hand.
Fix was posted here http://musescore.org/en/node/14668 since it's in the same source file.
While fixing #14668 the fix for this bug here got lost, so I am reattaching it here.
Note, this fix still fixes the problem with the arpeggio, however, the score still can't be opened, since the fix to #14668 now causes crash elsewhere: http://musescore.org/en/node/14734
patch applied in r5274
#14734 fixed, to with this patch, the enclosed score can be opened.
oops, wrong status due to crossed wires: Fixed.
Should it not be 'fixed'?
What's going on here? It's fixed, the patch was committed. I set it to "Fixed".
Don't know what happened.
Thanks anyway for the fix!
Automatically closed -- issue fixed for 2 weeks with no activity.