Instrument change undo, transposes twice

• Jun 29, 2010 - 04:44
Type
Functional
Severity
S4 - Minor
Status
closed
Project
Tags

Steps to reproduce bug
1. Create new score for Bb Trumpet. Notice the initial key signature is D major (2 sharps)
2. Add a quarter note D to the first measure
3. Right-click on an empty measure and choose "Staff Properties"
4. Click "Change Instrument" and choose flute. Notice the key signature is now in C major (no sharps) as expected
5. Edit > Undo

Expected behavior: Score should return to Bb Trumpet with a D major key signature and a quarter note D in the first measure

Actual behavior: Score changes to E major key signature (4 sharps) and a quarter note E in the first measure.

Discussion: Marked as critical since Undo should always restore the previous data. However it is on the lower border of "critical" since users can transpose back to D major using Notes > Transposition to workaround the bug.

MuseScore version: r. 3235 nightly build. Bug also present in 0.9.6

(Operating System: Windows 7)


Comments

It's a different behaviour now:

After step 4, there are two sharps. The position of the note remains the same and sounds D.

Step 5 seems to undo fine.

Using MuseScore 2.0 Nightly Build (2b0d24d) - Mac 10.7.5.