musescore / musescore/MuseScore

Improve behaviour when adding a repeat to a range of bars

Open
#15,944 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request needs design
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:

  1. Select multiple bars
  2. Click Left (start) repeat sign in the barlines palette
  3. Result: The start-repeat barline gets added to each selected bar:
    image

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:
image

Platform information

  • OS: Fedora 43, Flatpak
  • mscore Version: 4.0.1

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.