Resetting barline style to default leads to inconsistent properties and highlighting

• Aug 6, 2016 - 15:01
Reported version
3.0
Priority
P2 - Medium
Type
Functional
Severity
S4 - Minor
Status
needs info
Regression
No
Workaround
No
Project

bcb4cf3, Windows 7

  • my first score
  • add a repeats barline by dragging it from the palette
  • select it
  • in Inspector use the 'reset to default' for the barline

desired effect: barline turns into a normal barline

actual effect, it does not, but Inspector indicates otherwise (until you deselect and select that barline again)

If using the drop down menu, only the repeat barlines are enabled (when having a repets barline selected), all others are greyed out.
Selecting a normal barline and you can successfulla Change to and other barline, and even change back to normal and reset does work (visually only, not the playback!)
But even selecting one ot the enabled other repeat barlines doesn't change anything


Comments

It's conceivable this is partly by design. 2.0.3 has the reset button disabled, and also greys out the drop down options other than repeats. I suspect that is because internally, a repeat barline is not just a different barline style, but is fundamentally different sort of element. So the bug may just be that the reset button is not greyed out and appears to work.

Note in 2.0.3 you *can* actually apply the repeats as "regular" barlines styles using the Inspector, and in this case you can reset them normally, because these *are* still regular barlines (and as such don't affect playback).

But it is worth considering whether we should special case this command to make repeats act more like standard barlines. But then it is worth reconsidering what, for instance, "Delete" does when a repeat barline is selected.

Title reset barline to default fails on repeat barlines Reset barline style to default looses the selection
Severity S4 - Minor  
Tags View Changes

The initial scenario works in current master, but some inconsistencies with updating properties and actual highlighting happens:

screencast 2018-04-11 11-58-34.gif

Title Reset barline style to default looses the selection Resetting barline style to default leads to inconsistent properties and highlighting
Severity
Severity S1 - Blocker S4 - Minor
Priority P1 - High

How is this a blocker? I think the answer is, reset should do nothing. If you want to change a repeat to a normal barline, the recommended method has always been to simply delete it. Or am I missing something?

Priority P1 - High P2 - Medium
Status active needs info
Tags View Changes

As far as I can tell, this now works exactly as expected for me: reset on any barline - repeat or otherwise - takes it back to normal. In doing so, we also update the Inspector, and mark it generated (assuming "normal" is indeed the default).

Is there some specific set of steps where behavior is not as expected?