Accidentals entered by toolbar do not honour preceeding accidentals in measure

• Aug 24, 2013 - 13:28
Type
Functional
Severity
S5 - Suggestion
Status
by design
Project

When entering music through the keyboard accidentals occurring earlier in the same measure are honored so that sharps/flats/naturals are not repeated unnecessary. When attempting to do the same using the accidentals toolbar accidentals within the same measure are not honoured.

Steps to reproduce:
- Start a new score (Vocals/voice, C-major, 4/4 time signature)
- Enter a quarter f
- Turn it into a fis using the toolbar sharp button (a sharp accidental is added)
- Enter another quarter f (a natural accidental is added)
- Turn it into a fis using the toolbar sharp button (the natural accidental is replaced by a sharp accidental)
- Enter another quarter f (a natural accidental is added)
- Turn it into a fis using the keyboard up-key (the natural accidental is removed)

Expected behaviour is that both keyboard up-key and toolbar sharp tool would act the same in that they both honour previous accidentals within the same measure i.e. the same steps as above would have the following behaviour:
- Start a new score (Vocals/voice, C-major, 4/4 time signature)
- Enter a quarter f
- Turn it into a fis using the toolbar sharp button (a sharp accidental is added)
- Enter another quarter f (a natural accidental is added)
- Turn it into a fis using the toolbar sharp button (the natural accidental is removed)
- Enter another quarter f (a natural accidental is added)
- Turn it into a fis using the keyboard up-key (the natural accidental is removed)

The same incorrect behaviour holds for the natural- and flat accidentals on the toolbar versus using keyboard up/down keys to modify pitch and essentially as well for the double accidentals (allthough they don't have a pitch-change equivalent using the up/down arrow keys)


Comments

(removed comment on correct working of accidentals-pallette, as I noticed similar unnecessary accidentals when fooling around a little more)

Status (old) active needs info

(edited)

This must is regarding 1.3, as the development builds behave differently - the second F inherits the sharp automatically, with no accidental added.

Assuming this report is indeed regarding 1.3, then, this isn't a bug. The toolbar / palette is *supposed* to be a no-questions-asked accidental, so you can do courtesy accidentals. That actually remains true in the development builds - applying a toolbar or palette accidental applies that accidental in all cases. It's just that it won't be needed in this case, because the second F will automatically inherit the sharp. But if you apply a natural and then a sharp, the sharp displays, just as it should. If you want MuseScore to figure out if an accidental is needed or not, don't use the toolbar or palette - use the arrows. The toolbar / palette is for when you definitely want to see an accidental. At least, that's my understanding.

it's indeed on version 1.3 (on Windows 7 Pro x64)

Regarding the pallete I can imagine it should use a 'no questions asked - just do it' strategy. The note-entry toolbar however I would expect to use the same behaviour as the keyboard up/down... after all it's the note-entry, not the accidentals toolbar.

Status (old) needs info active

True, but you're entering an accidental. You enter a quarter note, you get a quarter note. You enter a tie, you get a tie. You enter a sharp, you should get a sharp. At least, that seems natural to me (pun not intended). If the icon had a picture of an up arrow, then I'd understand it as raising the pitch and applying whatever accidental was required, but with a picture of a sharp, I expect it to apply a sharp, always.

And consider, what should happen if the key signature is, say, F major, so Bb is in the key signature, and you type B and then press the sharp sign? Up arrow would add a natural, not a sharp. But that would be entirely counterintuitive for an icon with a picture of a sharp on it. You'd probably expect pressing the icon to actually add a sharp. In other words, you'd want the toolbar icon to act like the palette in this case, So the toolbar icons would be acting like the arrow keys sometimes, like the palette at other times. Do we really need three different ways of doing things (palette behaves one way, arrows behave another, toolbar another still)?

It's largely unimportant, though, since as mentioned, this issue will hardly ever come up in 2.0. As soon as you press that second "F" in your example, you get an F#. That is, the note displays with no accidental and plays an F#. So you won't normally need to use the toolbar to enter that second F#. It would come up only in the scenario I describe: where you first entered it by typing F, thus yielding an F# with no accidental, then you used down arrow or the natural icon to lower the pitch.

This should probably be closed as "by design", but since this *is* a common source of confusion and there has already been change for 2.0 in this area and it's perhaps not too late to revisit how any of this works and in any event it's not my call to make, I'm leaving it open for now as a minor feature request.

Status (old) active by design

I could live with the 'existing' behaviour of the toolbar, if mouse-based entry of notes would keep the existing accidental by default (requiring you to explicitly add a natural when needed). In 1.3 when entering notes with a mouse you are forced to create a score with repeating accidentals withinin a measure. That is the reason why I think this behaviour of the "[b]note entry[/b]" toolbar accidental buttons is wrong. When using keyboard entry you can get the correct 'default' behaviour of not repeating an accidental within a measure by raising/lowering with the arrow key, when using mouse-based entry you simply cannot and need to delete the extra accidentals by hand.

From your feedback (and checking the behaviour in the nightly build) I'd say 2.0 will solve this issue by 'keeping accidentals throughout the measure' by default, requiring one to explicitly change pitch within a measure when the measure has an accidental for that note. (make note-entry respect accidentals within the measure just like it already respects accidentals of the key). I think that's a better way to improve than changing the behaviour of the toolbar.

This allows for ease of entry, both for the keyboard (no longer up/down-arrowing for each and every accidental within the measure) and the mouse (no longer clicking accidental on toolbar each and every time and remove obsolete accidentals afterwards), while still allowing for an easy (assistive) repeat of an accidental within a measure.

So I think the issue is indeed solved by the note-entry improvents/changes made in 2.0 and toolbar is working correctly 'by design'..