Ties extended in region after time signature change
First reported in https://musescore.org/en/node/297855, then narrowed down from there
If a time signature change requires adding beats to fill out the last measure of the changed region, any times following that region are broken - they miss their end points and are extended to the next note. So for instance, if you have a region of four bars of 4/4 that you change to 3/4, this requires 6 bars of 34 and the last bar gets padded with two extra beats. This breaks all ties from that point forward.
I have attached such a score. Just change the first bar to 3/4 (the time signature change will stop at the 2/4 bar) and all the ties after the first four bars get broken.
The tie into the 2/4 section is not broken, btw, Thus, it seems #277800: Adding time signature breaks a tie across barline may no longer apply. I didn;t investigate that further.
Attachment | Size |
---|---|
broken-tie.mscz | 4.44 KB |
Comments
See my comments at https://github.com/musescore/MuseScore/commit/682e5b7742c16051b2fe137ea…. I think I have identified a couple of approaches to fixing this, but would prefer someone who has a better handle on the issues involved with spanners to take a look.
Hi Marc, I wanted to point out that #277800 still seems to be an issue. It is concerning changing the time signature of the bar in which the tie ends, not where it begins. Btw, I'm new to this project, so if you know of any good simpler issues to start with I'd appreciate it!
You're right, I misunderstood the issue. And welcome! I think that other one is probably pretty simple, but also try searching the issue tracker for the "tag" of "easy". We're not always good about marking these, and many of the ones marked that way originally have been fixed already, but I there's probably a few good ones left.
See https://github.com/musescore/MuseScore/pull/5506.
Fixed in branch master, commit f6998a40e3
_fix #297957: Ties extended in region after time signature change
Resolves: https://musescore.org/en/node/297957.
When searching for a note to complete a tie, what matters is not so much that the note doesn't already have a tieBack(), but rather that the two notes have the same unisonIndex()._
Fixed in branch master, commit 116f3eb8a9
_Merge pull request #5506 from mattmcclinch/297957-search-tie-note
fix #297957: Ties extended in region after time signature change_
Automatically closed -- issue fixed for 2 weeks with no activity.