musescore / musescore/MuseScore

Error When Pasting Repeat Measures with Half/Double Duration

Open
#19,504 5 comments 0 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

corruption P2 UX/interaction
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

Other type of issue

Bug description

Hi all.

There is a bug when using the "paste as double duration" feature with the repeat bar symbol.

I have attached the before and after scores in MuseScore.org:
https://musescore.org/en/comment/1208397

Steps to reproduce

To reproduce the error...
Control-A to select all.
Control-C to copy.
Select the first note or rest in the top staff of the first bar.
Edit | Paste double duration

The bar repeats for the drum part are now empty bars. There is not even a way to add notes to these bars at this point.
The correct score would have double-bar repeat signs.

When saving the score, there is an error "This score has become corrupted and contains errors".

Screenshots/Screen recordings

No response

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.1.1-232071203, revision: e4d1ddf

Regression

No.

Operating system

Windows 10

Additional context

Also happens in V3.6.
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.6.2.548021803, revision: 3224f34

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.