In any score in a measure that is not the last measure, select some notes that are not tied, but not the whole measure. Exchange voices 1 & 2.
Result: voices are exchanged but all succeeding measures now have rests in voices 1 & 2.
This applies to 2.0.3 & 2.1-dev
Comments
Interesting! Works fine if the full measure is selected. Same problem in 3.0. I guess somehow when we are trying to expand the measure to fill the gaps, we miss the endpoint and go on to the end of score. Not good.
All succeeding measures? I've seen it happening to the next measure, but not more. Maybe I Need to try again...
The key is to not select the full measure. Try entering four quarter notes in a measure, selecting the middle 2, then running the exchange.
OK, the tigger is to not select the last chord or rest in a measure, indeed pretty bad, IMHO warants upgrade to major
So what I believe to have seen affecting just the next measure, must have been something else, I'll keep an eye on that and report when it happens and I can reproduce
What you saw that affects the next measure is probably something like
put 2 1/2 notes in voice 2 in a 4/4 measure.
change the first to a whole note by exiting note entry, select note, press 7
You get a rest in next measure only.
I just did a test. I normally only use this on the last measure I'm working on. I tried it with an earlier measure and discovered that it is actually exchanging all the measures to the end, not simply putting an extra rest in the measures.
Yes, this might be what I remembered
Issue always active as far I go back in time.
Image below produced with this nightly on May 2014: 56177c3
Possibly related to this?: #28886: Full measure rest created in next measure if changing length of chordrest in voice 2,3,4 creates rest at end of measure
Nope. That's a very small glitch. This one is much bigger - as mentioned, all the way to the end of the score, and it isn't just that rests are add - the voice exchange actually goes to the end of the score as well. Title changed to reflect this.
Needs revisiting?
The exchange voice operation is performed on entire measures. The selection is used to determine which measures should be affected. In this way, it is similar to the "Delete Selected Measures" command in 2.x. There is a bug (with a trivial fix) that will cause the operation to continue to the end of the score if the selection ends on a segment that is not at the end of a measure. For the fix, please see https://github.com/musescore/MuseScore/pull/3790.
Fixed in branch master, commit c7ca735071
fix #166566: Exchange voices with partial measure selected works all the way to end of score
Fixed in branch master, commit e767cabb94
Merge pull request #3790 from mattmcclinch/166566-exchange-voice
fix #166566: Exchange voices with partial measure selected works all the way to end of score
Automatically closed -- issue fixed for 2 weeks with no activity.