musescore / musescore/MuseScore

Incorrect barline appearing in part when Rit... is added after part has been created

Open
#18,850 1 comment 0 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

engraving P2 parts
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

Engraving bug

Bug description

Depending on the setup of the score/part, an incorrect barline type is added to the part when adding a rit. to the main score.

Mainscore view:
mainscore-3-parts

Part 2 view (correct):
mainscore-part-2

Part 3 view (incorrect):
mainscore-part-3

Steps to reproduce

Start a new score and add 3 instruments
First instrument, add notes in the first 5 bars
Change the barline for the end of maesure 4 to a double barline
Second instrument, add notes in the first bar and in the fourth
Thrid instrument, add notes in the first bar and in the fifth
Now generate/open all parts
Now select the fourth bar in the main score for the first instrument and add the Rit....from the Tempo palet

Observe how the third instrument in the part has a double barline at the start and end of the fourth bar.

Screenshots/Screen recordings

Score:
incorrect-barline.zip

MuseScore Version

4.1.1.

Regression

I don't know

Operating system

Windows 11

Additional context

No response

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.