musescore / musescore/MuseScore
Improve behaviour when adding a repeat to a range of bars
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Describe the bug
The behaviour for adding a repeat to a range of bars could be more useful.
To Reproduce
Steps to reproduce the behavior:
- Select multiple bars
- Click
Left (start) repeat signin the barlines palette - Result: The start-repeat barline gets added to each selected bar:

Expected behavior
I do not see a use case where this behaviour would be useful. I would expect that choosing a start-repeat or end-repeat barline from the palette with a range of bars selected results in a start-repeat barline being added to the beginning of the selection, and an end-repeat barline being added to the end of the selection, like so:

Platform information
- OS: Fedora 43, Flatpak
- mscore Version: 4.0.1
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.
Research direction
Reproduce the issue by selecting multiple bars and choosing the Left (start) repeat sign from the barlines palette. Trace the palette action and range-selection handling in the MuseScore desktop application, then verify that a start repeat is placed only at the selection's beginning and an end repeat only at its end.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100