MS loses focus when (insert) adding bars to multibar rest.
⇒
Selection lost when inserting bars with multimeasure rests enable
Hmm, it's worse than that, it seems. It doesn't even work correctly if the measure being inserted if *not* in a multimeasure rest - as long as the rests are enabled, the selection is lost regardless of where the measure is inserted:
1) my first score
2) fill first three measures with notes
3) press "M" to enable mmrests
4) select second measure
5) press "Ins"
Result: measure is inserted but selection is lost. If you skip step "M", the selection is preserved.
Anyhow, this suggests one workaround for now - press "M" to disable the multimeasure rests, insert the measures, then press "M" again to re-enable the rests. Also, in case you didn't know, you can add multiple bars at once with Ctrl+ins (Add / Measures / Insert Measures)
Comments
That would be very useful and less time consuming.
Hmm, it's worse than that, it seems. It doesn't even work correctly if the measure being inserted if *not* in a multimeasure rest - as long as the rests are enabled, the selection is lost regardless of where the measure is inserted:
1) my first score
2) fill first three measures with notes
3) press "M" to enable mmrests
4) select second measure
5) press "Ins"
Result: measure is inserted but selection is lost. If you skip step "M", the selection is preserved.
Anyhow, this suggests one workaround for now - press "M" to disable the multimeasure rests, insert the measures, then press "M" again to re-enable the rests. Also, in case you didn't know, you can add multiple bars at once with Ctrl+ins (Add / Measures / Insert Measures)
Thanks. I'm behind the curve since 2.
I'm pretty sure this fixes it without introducing any new problems:
https://github.com/musescore/MuseScore/pull/2301
For the record, this issue was a side effect of this commit: 4a78d5c
For fix: #39811: Crash after removing multimeasures rests and adding a measure : Not the first issue, but the second one (with steps in comment #4)
Thanks for that. I just tested to be sure, and my fix doesn't not break the fix for the other issue (ie, following those steps does not crash).
Fixed in branch master, commit 7d2bbf112e
fix #88741: selection lost after insert measure with mmrests enabled
Fixed in branch master, commit a98b748ebf
Merge pull request #2301 from MarcSabatella/88741-insert-mmrest
fix #88741: selection lost after insert measure with mmrests enabled
Fixed in branch 2.0.3, commit 5635862bdc
fix #88741: selection lost after insert measure with mmrests enabled
Automatically closed -- issue fixed for 2 weeks with no activity.