musescore / musescore/MuseScore
Copy/paste of two-bar repeat produces empty measures
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
UX/Interaction bug (incorrect behaviour)
Bug description
When using copy/paste on a passage containing a two-bar repeat, the repeat is not copied.
Steps to reproduce
- add a two-bar repeat to a score
- select those two bars or any range containing them
- copy
- select a destination
- paste
Result: the bars corresponding to the two-bar repeat as empty in the destination
Same for four-bar repeat.
Screenshots/Screen recordings
MuseScore Version
OS: Debian GNU/Linux 11 (bullseye), Arch.: x86_64, MuseScore version (64-bit): 4.3.0-240530518, revision: github-musescore-musescore-0fa51e6
Regression
I don't know
Operating system
Debian 11
Additional context
Same in 4.2.1 and 4.1.1; I can't easily test earlier MU4 releases. Not applicable to MU3 since there was no two-bar repeat.
I thought I remembered seeing an issue about this previously but am not finding it, open or closed. Since these elements also involve "no break" elements, it's no doubt a bit complicated to make this work. We could consider putting up a warning dialog, much as we do for "tuplet would cross barline" - but I'd recommending allowing the copy anyhow so the user can simply add back the repeats.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.