musescore / musescore/MuseScore

Replacing a repeat barline type breaks the linking

Open
#29,829 0 comments 0 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Issue type

File corruption

Description with steps to reproduce
  1. Create new score from string quartet template
  2. Open all parts
  3. Go to main score and and double barline.
  4. Change double barline to Right repeat sign
  5. Save the score.
  6. Now you can see "Assert Failed" in Musescore logs.
  7. Close and reopen score.
  8. Remove repeat barline
  9. Check that parts still contain double barline

I was able to reproduce at least in Musescore 4.0.2, so it's not a regression.

Supporting files, videos and screenshots

https://github.com/user-attachments/assets/09136114-9466-4a21-8151-65c388a47f2c

What is the latest version of MuseScore Studio where this issue is present?

MuseScore Studio version (64-bit): 4.6.0-252530405, revision: github-musescore-musescore-cc53447

Regression

No.

Operating system

windows 10

Additional context

No response

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

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.