Slur/Tie in Inspector should expose Direction (to allow reset to Auto)

• May 14, 2014 - 16:02
S4 - Minor

Windows 7, GIT commit: f243191

1) create or open any score with slurs or ties
2) select one of more slurs or ties
3) view Inspector

Result: Direction property is not exposed

This is fairly important, as there is otherwise no way of restoring the "Auto" direction ("X" only alternates between "Up" and "Down").


Debugger shows only above/below. But via a Plugin it should be possible to set to AUTO

Also I would have thought that selecting a slur/tie and hitting Ctrl-R would do the trick, but that doesn't seem to be the case

I have an Inspector UI working for this.

But not yet the Ctrl+R part of the story, so far got that to work for slurs only, not for ties, and only if the slur is part of a larger selection, not if the slur is the only selected element, looking for ideas why that is, I've just added a
score()->undoChangeProperty(this, P_ID::SLUR_DIRECTION, int(MScore::Direction::AUTO));
to SlurTie::reset(), the method that does reset the user offsets.

Should Ctrl+R also reset the line type back to solid?

Or is Ctrl-R only about positions?

It was named "Reset Positions" in MuseScore 1, but I think it was changed because in reality it also resets the size and shape of some elements. I'd argue that shape is an aspect of position, and calling it "Reset Size and Position" would be nice.