Unable to create cross-voice slurs

• May 4, 2014 - 22:09
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Windows 7, GIT commit: d481552

1) new flute score, 4/4
2) in voice 1, enter two "C" half notes
3) in voice 2, enter four "A" quarter notes
4) try to slur from the first "C" to the last "A"

Result: I can't find a way to do it. Selecting the two notes then pressing "S" does nothing. Clicking the first "C"and pressing "S" creates a slur to the second "C"; no combination of arrow keys or dragging I can find will allow the slur to be connected to the last "A".


Comments

I changed back the behaviour how anchors are moved: dragging the slur end to a note head moves the anchor to this note (actually chord). This allows moving the anchor to a different voice.
If shift or ctrl or both are pressed during move, the slur anchor is not moved.

The combination shift+arrow down/up while in edit mode on the last handle can be used to make a cross-voice slur. I hit a crash when moving with the keyboard the last handle of a voice1-voice2 slur all to the left where a slur was already present, but I am trying to find a simpler example to submit to the issue tracker.

I can confirm shift+arrow works. Not sure if I just missed that somehow earlier or if it just started working.

I can also confirm the potential for a crash, but so far not with keyboard - only with dragging for me so far. See also #25553: Slur misbehaviour when dragging rightermost handle to the right. The crash I got in this case was upon dragging the endpoint upwards to the point where it attempted to attach to a note in the system above. It appears SlurSegment::gripAnchor() may have gotten a null value upon calling "system()", but the debugger isn't cooperating with me enough to say for sure.