Lines attached to notes voice > 1 are laid out at beginning of measure

• Aug 15, 2014 - 17:47
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Ubuntu Studio 14.04, GIT commit: 30d3182

1) new score
2) measure 1, note entry
3) enter whole note into voice 1
4) fill voice 2 with sixteenths
5) drag ottava line to first sixteenth of last group (beat 4)

Result: ottava displays at beginning of measure

If voice 1 contains a full measure rest rather than regular chord/rest and is hence centered in the measure, the ottava appears over that instead of the beginning of the measure.

This applies to most other lines as well - trills, etc. It seems the start track is always set to staffIdx * VOICES in cmdAddSpanner, and since there is nothing there at this tick position, it moves back to the first segment it can find.

This seems sort of related to #28761: Lengthening note before a line produces incorrect results.


Comments

BTW, this affects both lines newly added to scores, but also lines that already existed in 1.3 scores. Follow the same steps as above in 1.3, it works. Now save, then load the file into 2.0 - fails in same way. That's actually how I discovered this: loading the 1.3 version of Reunion.