musescore / musescore/MuseScore

Multimeasure rests do not consolidate when deleting barlines

Open
#33,909 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

Issue type

Engraving bug (incorrect score rendering)

Description with steps to reproduce

CASE 1:

  1. Create a new score with a part
  2. Add a barline (e.g. double) after a few bars
  3. Open the part
  4. Delete the barline added at step 2
    RESULT: The multimeasure rests do not consolidate
  5. Toggle multimeasure rests off and on
  6. RESULT: Now the multimeasure rest is consolidated as expected

https://github.com/user-attachments/assets/36a38bf2-2586-4684-8e6e-19425dae8dc0

Supporting files, videos and screenshots

CASE 2:
Repeat steps 1-4 above.
5. Undo
RESULT: The MMRests consolidate rather than the barline being undeleted.
6. Turn of multimeasure rests, and observe that the barline in the part is now out of sync with the main score (This state survives save/reload).

https://github.com/user-attachments/assets/98a5f6be-7087-45c2-b68b-87011f3778a0

In which versions of MuseScore Studio is this issue present?

Latest main (since #33837)

Regression

No.

Operating system

Ubuntu 24.04.4 LTS

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.