Autoplaced dynamics can shift on Alt+drag
Reported version
3.1
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project
Change the style for dynamics position below Y value from the default of 4.
Insert a dynamic
press alt while dragging it a little
Result: Dynamic jumps from its location depending upon what value is in the position below. The second time you drag the dynamic it stays where it belongs.
Expected: When the default position is not changed, dragging the dynamic leaves it where you drop it. When you drag a dynamic, it should stay in that spot regardless of the value entered in the position in styles.
Comments
I can't reproduce, probably depends on a number of factors so an actual score would help.
dynamics move.mscz
In the file, hold alt while dragging the p, it's most obvious if you drag it downward. I made the Y offset 0 to make sure the jump is obvious.
I can reproduce with your sample. The key seems to be that the dynamic needs to not "fit" using the style default and hence is autoplaced.
This is basically the same thing we always saw prior to 3.1, though, upon a normal (non-Alt) drag under similar circumstances. I went to some effort to make this sort of thing not happen for other elements that go through the generic autoplaceSegmentElement() functions, but dynamics do work a little differently. I would love to blame this on the code for automatically changing the anchor when dragging, and use this as an excuse to disable that, but unfortunately that seems not to be it.