Moving Instrument Name text enables edit mode, but changes do not apply upon exiting edit mode
First reported by user tbdbitl at Editing Instrument Names , but I'm the one who just figured it out.
From the original post:
I add an instrument to an existing score, and then want to change the name of the instrument. I used the standard was of going into edit mode - double clicking on the text, or using Ctrl-E - and am placed in edit mode. I make the changes, and all looks good. Then I click outside the text area, and my changes disappear, and the text returns to its original format.
From my reply:
If you were able to get into edit mode at all by double-clicking an instrument name or using Ctrl+E, then that's the bug, because it shouldn't work that way.
Our conclusion was that either the user's computer had been under a demonic possession of some sort, or "software rot." But I have now figured out how to reproduce the bug.
Simply click and drag an instrument name. If you want, you can "Undo" the operation to put it back. It doesn't matter. Then, exactly as tbdbitl described, double-click the text. You're in edit mode. Click outside of the text box, and the changes are gone.
Comments
This also happen with measure numbers. Except moving instrument names doesn't stick between save and reload, measure number move does.
Nice job figuring this out! It looks like moving the instrument name causing the generated flag to be unset, which makes sense if it is designed to stick. I guess maybe that is what is causing it to become editable?
Two remarks:
1) I note that on May 19, it is indeed necessary to move the instrument name to edit it.
2) The next step (changing the name instrument is not applied after escape) occurs around August 5 or 6.
This Nightly this works: 5373c93
Not this one: 88b44cd
So maybe here ? : https://github.com/musescore/MuseScore/commit/a2a87a90c874f9eaaee4faf04…
or ? https://github.com/musescore/MuseScore/pull/1100/files
I have not checked for the measure numbers.
With https://github.com/musescore/MuseScore/commit/e9e39d1d2, edit mode is enabled properly for instrument names, and the changes do stick.
Automatically closed -- issue fixed for 2 weeks with no activity.
Just noting that this was also fixed for 2.1 in c733248.