Moving either end anchor of tie causes crash
Hello,
Selecting first anchor or tie and trying to it cause crash
see attached file.
windows 7
8a6c228
Robert
Attachment | Size |
---|---|
Test2.mscz | 1.63 KB |
Hello,
Selecting first anchor or tie and trying to it cause crash
see attached file.
windows 7
8a6c228
Robert
Attachment | Size |
---|---|
Test2.mscz | 1.63 KB |
Comments
Hope the title is better?
Apparently it happens for ALL ties, not just for this score.
The crash is in the
Spanner::endCR()
function (file libmscore/spanner.cpp, line 454) which ASSERTs if the slur/tie segment is anchored to anything else than a segment or a chord. Ties are anchored to notes, though.Is it an overlook (just add another OR to the Q_ASSERT and return note's chord) or note-anchored tie segments should be treated in some special way?
M.
UPDATE:
I think the problem is caused by this commit: ae2cc1f edit slurs: change anchor while dragging of 2013-10-16, which allows to anchor a slur to a different chord while dragging (specifically function
SlurSegment::editDrag()
in libmscore/slur.cpp)I think this change of anchor should not apply to ties (which are note-specific). I tried to understand the logic of
SlurSegment::editDrag()
enough to try to correct the issue, but so far it escaped me. I'm afraid someone more knowledgeable is needed...M.
Not just the first anchor...
Fixed in 1dbd9366c5
Automatically closed -- issue fixed for 2 weeks with no activity.