musescore / musescore/MuseScore

Multiple crescendos (diminuendos) added from palette, if more than two notes are selected

Open
#13,317 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community UX/interaction
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Describe the bug
If more than two notes are selected, clicking palette hairpins, or "cresc. _", or "mf<" (or diminuendo) produces incorrect crescendos.

To Reproduce
Steps to reproduce the behavior:

  1. Select three or more notes (no rangeselection)
  2. Click on Palette -> Dynamics (or Lines) -> hairpin (or "cresc", or "mf<")
  3. See - multiple hairpins are created

Expected behavior
One long hairpin from first to last selectednote is created.

Screenshots

https://user-images.githubusercontent.com/1646034/189760784-79fa601b-2739-4989-aafe-a73635c62d28.mp4

Platform information

  • OS: [reported on Linux]

Additional context
Adding hairpin by key shortcut "Shift + ," or "Shift + ." works correctly.

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

Start by reproducing the palette workflow with three or more selected notes, then compare it with the working Shift+, and Shift+. shortcuts. The fix is done when each palette hairpin or dynamic creates one hairpin spanning the first through last selected note, rather than multiple hairpins.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.