Copy paste tuplet across barlines causes corruption
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
01e2f04
First violins, measure 9. Copy the triplet with the sixteenth note rest in front. Paste to the last eighth note.
Attachment | Size |
---|---|
Dvorak_Symphony_No._8_Mvt2.mscz | 24.32 KB |
Comments
Confirmed. Previously we never used to allow this in the first place. I think we should go back to that strategy for now.
In reply to Confirmed. Previously we… by Marc Sabatella
How do you accomplish it? Where is it in the code? I know how to do it using ticks, but the notation should... actually be easier, right? If it's a sixteenth triplet, then it should take a 16th's amount of time on one side of the barline, and another sixteenth on the other side. which means the next note, the straight one, starts on beat 1.25.
Or is it that notation and piano roll are closely linked in Musescore? That would make for some problems, as a triplet crossing barlines would also have notes crossing barlines, even if it isn't notated that way.
I'm not totally sure what you're asking - where to find the code for tuplet copying? The main paste function is here:
https://github.com/musescore/MuseScore/blob/01e2f04079a5cf26c2203838b2c…
Tuplets specifically are here:
https://github.com/musescore/MuseScore/blob/01e2f04079a5cf26c2203838b2c…
Looks to me like we are still trying to disallow it...
The value of
tuplet->rfrac()
is wrong because the value oftuplet->rtick()
is wrong. I wonder what other problems result from this. See https://github.com/musescore/MuseScore/pull/4379 for a fix.Fixed in branch master, commit abfcb6fda1
fix #279874: Copy paste tuplet across barlines causes corruption
Fixed in branch master, commit b9ddb6b574
Merge pull request #4379 from mattmcclinch/279874-tuplet-rtick
fix #279874: Copy paste tuplet across barlines causes corruption
Automatically closed -- issue fixed for 2 weeks with no activity.