musescore / musescore/MuseScore

Copy/paste of two-bar repeat produces empty measures

Open
#21,634 6 comments 0 reactions 4 assignees View on GitHub

Nobody has claimed this yet.

engraving P2 UX/interaction
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
  1. add a two-bar repeat to a score
  2. select those two bars or any range containing them
  3. copy
  4. select a destination
  5. paste

Result: the bars corresponding to the two-bar repeat as empty in the destination

Same for four-bar repeat.

Screenshots/Screen recordings

image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.