musescore / musescore/MuseScore

Beams do not consider staff offset when snapping to avoid wedges

Open
#34,738 0 comments 0 reactions 1 assignee View on GitHub

@ajuncosa is already working on this.

Since Sep 1, 2026.

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

Beam positions relative to the staff should not change when the staff is offset. It seems, however, that beams continue to snap to the pre-offset positions of the stafflines. This causes ugly white wedges and unexpected changes of stem lengths.

Supporting files, videos and screenshots

The issue is particularly obvious for the second beam group in this example. Notice that the beam continues to snap correctly to the red line (pre-offset position of lower staffline):

https://github.com/user-attachments/assets/f7ed39af-81de-4d3a-8eca-7f4f1541f27a

In which versions of MuseScore Studio is this issue present?

latest nightlies

Regression

No.

Operating system

macOS 26.6.2

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.