Ottava placement is always reset to "Below" on resetting to style

• Dec 4, 2018 - 16:48
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
  1. Open any score
  2. Add an ottava 8va.
  3. In Inspector change its placement to Below. You may want to return it then back to Above.
  4. Click "Reset to style default" button for the placement property.
    Expected results: placement should return back to Above.
    Actual results: placement is set to Below.

It seems that Below it the styled default placement for both kinds of ottavas which is apparently not what is expected.


Comments

Priority P2 - Medium

If there has to be a bug, I'd rather it always go above :-). I bring this up because I suspect it might be similar to the case with title/subtitle/composer/lyricist which are all actually the same element type ("Text") and thus the "Style" field has no reset button at all. That's another option, if this turns out to have a similar underlying issue.

Priority P2 - Medium P0 - Critical

This leads to loss of information on save/reload - add an ottava, set it to below using either "X" or the Inspector or Ctrl+R (which shouldn't do this, but does because of the bug here), save, reload - ottava is back on top.

It's been suggested we should simply disable placement for ottavas - see #141681: Ottavas should not have above/below staff placement property. As I mentioned in that thread, I'm not a fan of disabling a command just because some particular person doesn't intend to ever use that command, but disabling it because that person is kind of right that it's an odd thing to do and it doesn't actually work is another matter.

I'm in the process of fixing a whole slew of bugs relating to saving of placement info, I'll see what I can do here.

Fix version
3.0.1