musescore / musescore/MuseScore
Multiple crescendos (diminuendos) added from palette, if more than two notes are selected
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
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:
- Select three or more notes (no rangeselection)
- Click on Palette -> Dynamics (or Lines) -> hairpin (or "cresc", or "mf<")
- 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
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
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