musescore / musescore/MuseScore
Allow any line to become note-anchored
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Your idea
Allow users to drag the ends of any line to a note to anchor it to the note rather than floating.
Some thought would need to be given to how this interacts with then dragging the anchor points again, as at the moment I use them to ensure a reasonable distance between the end of the line and the note itself. Perhaps a threshold for how far away to drag before it becomes a normal line again, or a setting in the properties panel for how much gap should be left at each end before drawing (sometimes you need to adjust these independently, so one setting for both ends wouldn't be enough).
If no objects are selected, any line added from the palette should be a standard line, but if one is selected, the new line should anchor automatically at that end, and if two are selected, both ends should anchor. Behaviour when more than two objects are selected would need thinking about.
Problem to be solved
Note-anchored lines are an extra concept that is currently difficult to find, and there are so many types of lines that would need to be recreated with the stylings once created, that this could save a lot of time when entering lines. It would make this much easier to explain to new users as well.
Prior art
No response
Additional context
No response
Checklist
- This request follows the guidelines for reporting issues
- I have verified that this feature request has not been logged before, by searching the issue tracker for similar requests
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
No files or tests are named. Start by locating the existing note-anchored line behavior, line-palette creation, and selection handling; then resolve how dragging, anchor gaps, and more than two selected objects should work. Done means any line can be anchored as described and the palette behavior follows the selection state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- design, desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100