Keyboard entry does not always place new note closest to previous
According to the manual, note entry with the keyboard should add the next note in the octave closest to the previous note. This does not always happen. Specifically, when key signatures producing tritones are involved, the closest note is always considered to be the lower alternative in some combinations.
E.g. in key signatures with one flat, typing a sequence of e-b-e-b-e-b jumps down an aug4/dim5 every time.
However, in B major, the key sequence a-e-a-e does NOT follow that pattern, but alternates between the notes of the aug. fourth.
In key signatures with three flats, the "new" tritone a flat-d again goes down everytime ( a-d-a-d); this time also a-e-a-e goes downward.
Steps to reproduce:
1. Create new document with one flat.
2. Enter note input mode.
3. Type "b-e-b-e-b-e"
Expected behaviour: the notes would alternate between b flat and e an augmented fourth apart.
Actual behaviour: diminished fifths between b flat and e are also interpreted as fourths, going downward.
Note that the behaviour is not limited to tritones; in B flat major, the perfect fifth b flat-e flat also goes down, not up as expected.
Comments
See #277796: Inconsistent octave selection in note input mode. It's a known issue, but a minor one, and kind of complicated for the reasons explained in that referenced issue.