Assertion failure / incorrect behavior on Shift+Left of volta start grip

• Jan 18, 2015 - 05:18
Type
Functional
Severity
S3 - Major
Status
closed
Project

Ubuntu 14.04, GIT commit: 2e2aa1c

1) new / empty score
2) add volta to any measure but first
3) double click
4) click start grip
5) Shift+Left

Result: crash - or more particularly, assertion failure (so results may diffier if not running a debug build, I guess).

The failure occurs in Measure::remove(), where we are trying to remove the line from the measure. The parent of the line is null. If I bypass assert, though, it still doesn't behave well - the end point of the volta moves too.


Comments

Yes, by "start grip", I mean the left handle. Sorry for the confusion, "start grip" is the internal term for this within the code.

And yes, it doesn't crash unless you are using a debug build. But the results aren't correct, either - moving the start grip should not move the end one. I fear the score may be somewhat corrupt at this point. Maybe I'm wrong, and it's not as serious as it first appeared. I'm downgrading to "major", but perhaps it's not even that. Depends on whether the score really is corrupt.