For breath marks, automatic placement is still active, although disabled

• Feb 7, 2019 - 14:43
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

Steps:
1) Place a breath mark in the first voice (it is currently not possible to attach it to other voices; known issue).

2) Disable automatic placement for this breath mark.

3) Move breath mark to note in 2nd voice (preferably with inspector).

Effect: Moving the breath mark still affects the automatic placement of other elements. Strange stretching occurs when the breath mark is moved far. The breath mark should actually be ignored if automatic placement is disabled, right?

Attachment Size
move breath mark_example.mscz 7.39 KB

Comments

Priority P0 - Critical

Yes, it should work at least in part as you want. Although I'm not sure it is feasible to allow it to be placed before a note it logically comes after. But it shouldn't affect the position of text, for example, and right now moving the breath mark higher above the staff pushes the lyrics up, which it shouldn't. That much at least should be an easy fix, we need to check for autoplace when building the segment shapes, I think.

From looking at Segment::createShapes() and tracing a bit further, I can see there are several other elements that always get included in segment shapes and hence affect layout. For instance, if you disable autoplace for a note and it's stem, the stem gets ignored and can thus intersect other staves, but the notehead cannot. But even though it's probably correct to fix this in Segment::createShape() (checking both autoplace and visible for all elements and their annotations), it also feels a bit dangerous.

In reply to by Marc Sabatella

What I meant by "in front of" was that the breath mark should not be placed immediately after the half note, but where the duration of the half note ends, i.e. just in front of the following quarter note (with a gap, of course, see example): breathe_2nd_voice_lily.png.jpg
I have assumed that elements with automatic placement switched off are generally ignored. I would find this useful.
By the way: If you move the breath mark approximately to the desired position (with the inspector), then a little further in the direction of the quarter note (X about 2.40 or more), the bar stretches quite a bit. If you want to undo the result (decrease X-values), it will stretch further first. In the negative range, the breath sign then moves back again. Also Undo does not let you return to the starting point. This is a strange behavior in any case.

OK, I understand better, I thought you meant move the breath to the left. Moving down makes more sense as a workaround for the inability to have these be per-voice.

And yes, disabling autoplace should generally work. My analysis above is intend to help in getting this working as expected.

The very strange layout is a bug as well, a rather worse one I think. Could you file that separately?

Fix version
3.1.0