musescore / musescore/MuseScore
Incorrect tie from voice 2 to voice 1 when creating linked staff
Open
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
- Open attached MuseScore file
- Create a linked staff
- Observe incorrect second tie in staff 2: it starts at beat 2 in staff 2 and ends at beat 3 in (incorrectly) staff 1
Supporting files, videos and screenshots
In which versions of MuseScore Studio is this issue present?
commit 8d5eefab2 of Tue Mar 24 18:31:12 2026
Regression
I was unable to check
Operating system
MacOS Sequoia 15.7.4
Additional context
Found when fixing TablEdit tie import issues.
Suspect the root cause for the issue is in function addTies() in file src/engraving/dom/excerpt.cpp, which gets called for each note in order of track followed by tick. The function assumes the note forward tie link has been encountered before it sees the backward tie link. This assumption does not hold for the attached file, which explains why the first tie is handled correctly, but the second is not.
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.