Affected range not updated after key change
When adding a key signature, the score does not update to show how this affects subsequent notes and system headers. This bug is only in the master branch, and it does not occur when modifying an existing key signature.
To reproduce:
Start with a fresh "Untitled" score (formerly known as "My First Score").
Add a key signature to any measure in the first system.
Notice that the other systems do not show the new key signature.
This is simply a matter of Score::doLayoutRange() not receiving an appropriate value for etick, and thus not updating the entire affected range. I have written a patch to fix this, and am sending a pull request now.
Comments
See https://github.com/musescore/MuseScore/pull/3608.
This seems only to happen to My First Score and not to scores create from scratch or a template. And the reason seems to be that the former has system breaks. And sure enough, as soon as adding system breaks, other scores are affected too...
The presence or absence of system breaks only confuses the issue. This has more to do with a failure to set the layout range when inserting a key signature so that the appropriate region of the score can be updated. It can be observed on a score without system breaks.
Anyway, fix #271066: Affected range not updated after key change #3608 takes care of the problem.
Fixed in branch master, commit 3fb9a01517
fix #271066: Affected range not updated after key change
Fixed in branch master, commit c89c952937
Merge pull request #3608 from mattmcclinch/271066-keysig-range
fix #271066: Affected range not updated after key change
Automatically closed -- issue fixed for 2 weeks with no activity.