Note entry- bad accidental-preserving behavior.
OS: macOS 10.15, Arch.: x86_64, MuseScore version (64-bit): 3.3.3.24345, revision: 57d770e
I think this is new,, and it's very annoying. Any score at all. Let's say in G minor. I have an A♭ (of necessity, by virtue of a visible accidental). I decide don't want it; I want D. So I type D. I get D♭. This is wrong as far as I'm concerned.
Comments
Since you must put an accidental on the second D to make it natural apply the accidental before you enter the note. This is the new, current method of note entry. There is a fixed issue to allow for correcting this situation after the fact found at #292648: Courtesy accidentals disappear after an octave change using Ctrl + Up/Down. I'm not sure if this will be in 3.3.4 in a couple of hours or 3.4 in a couple of weeks.
In reply to Since you must put an… by mike320
No, you're misunderstanding me. IT put the flat on the D; there is no Db in G minor. When I say I want a D, I want D, not Db. There is no natural necessary, and I shouldn't have to tell it to put one before or after the note.
In reply to No, you're misunderstanding… by [DELETED] 1831606
Here's my understanding:
You have the key of G minor which does not have a Db
You enter a Db then later enter another D in the same measure on the same line
The rules of accidentals says that the second D is a Db unless you specify otherwise. MuseScore is aware of this and kindly takes care of this for you by not adding another accidental. If you want a Db you must insert another accidental on it.
This has not changed as long as I've been using MuseScore.
In reply to Here's my understanding: You… by mike320
No, this is completely incorrect (your understanding).
I have G minor, has two flats, Bb, Eb.
I enter an Ab, by whatever means. Does not matter.
I select the Ab with the mouse.
I type D,, I want D. There is no Db in the entire composition up to that point.
I get Db, D with a marked flat on it. Wrong.
In reply to No, this is completely… by [DELETED] 1831606
I understand now and this has also been discussed among the programmers. The fact that the flat was selected on the tool bar (no matter how you selected the Ab) make this flat apply to the note you enter (D in your example). I don't know what all has been fixed, but I hope this is included in the link I provided before or some other PR that will be included in the next release.
In reply to I understand now and this… by mike320
The "workaround" is apparently to force the user into utilizing Note Entry first (which will untoggle the accidental), even though, ironically, there seems to be a recent trend in allowing the user to begin note-entry in alternative ways besides directly through the shortcut. For now, it seems best to get into the habit of entering N.E. before inserting or replacing any note(s).
In reply to I understand now and this… by mike320
NO!!!! I never, ever selected a flat on the toolbar. I entered an A, and lowered it via the arrow key. I then clicked on the Ab (the note in the score) and typed a D, and it made it flat. I never, ever used the flat on the toolbar!!!!!~
In reply to NO!!!! I never, ever… by [DELETED] 1831606
Don't panic, I'm downloading 3.3.4 right now to see if it's fixed or if it'll wait till 3.4.
In reply to Don't panic, I'm downloading… by mike320
it's not fixed in 3.3.4.
In reply to it's not fixed in 3.3.4. by mike320
It is a hideous misbehavior, right? Sorry for not taking care to explain it better.....I thought I did ...
In reply to It is a hideous misbehavior,… by [DELETED] 1831606
After I understood what you said and looked at the first post I should have understood. I'm going to make sure there is an issue submitted that includes this.
In reply to After I understood what you… by mike320
I had seen this behavior a few times but lamely didn't stop right there and reproduce it, and when i saw the octave bug, I said "oh, that must have been what i saw". Wrong, wrong. This is a nuisance. Anyway, thanks.
In reply to After I understood what you… by mike320
See #298115: Replacing a note with an accidental leaves accidental on new note.
I do agree that this is a major PITA to deal with but there are easy workarounds that mean rethinking your work procedure. The workaround is to cancel the accidental before you enter the note by pressing a user defined shortcut or clicking the toolbar. It's my understanding that by definition this make the issue minor.
In reply to NO!!!! I never, ever… by [DELETED] 1831606
To be clear for people following this who aren't also following the issue tracker thread:
The reason this happens is that clicking rhe Ab automatically selects the flat on the toolbar. The accidental buttons enable and disable as you click or navigate through your score, just as the duration, dot, rest, and voice buttons do. And just as in those other cases, if you then type a letter without first entering note input mode, the state of those buttons determines the attributes of the note you enter. So, click a note in voice 2 and type D, you get a note in voice 2, because the voice 2 button is selected. Click a sixteenth note and type D, you get a sixteenth note, because the sixteenth note button is selected. And, click a note with a flat and type type D, you get a note with a flat, because the flat button is selected.
So on one hand, this technically isn't a bug. But on the other, while it's all perfectly consistent and somehow thus logical, I absolutely agree it doesn't "feel" right. Somehow I expect the new note to inherit the duration and voice of the clicked note, but not its accidental. No big deal really, but I'd be happier to see typing a letter name ignore the accidental. I suppose that makes it harder to get a Db if you do want it, but there are always the arrow keys.
All this applies to normal mode only. In note input mode, the toolbar buttons don't update themselves, so there is no corresponding issue there.
In reply to To be clear for people… by Marc Sabatella
If I click on the Ab and try moving it with the mouse, it happily forgets the flat.
In reply to If I click on the Ab and try… by [DELETED] 1831606
Sure - the toolbar buttons are not relevant to changing pitch, only to entering new pitches in note input mode, which is in effect what typing a letter does (it switches you to note input mode then enters the pitch).