musescore / musescore/MuseScore
Clicking in Input Mode sometimes assigns a different note than is previewed
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
When clicking to enter a pitch, the ghost notehead preview is not always the same as the note that actually gets written in the score
To Reproduce
enter input mode
hover the cursor over a note (say, B4)
move up/down until just before the preview changes pitches (can go past the threshold and move back a little bit) (boundary between C5 and B4)
click to enter note
note will entered will be on the other side of the threshold (C5)
Expected behavior
note entered is the same as the preview
Screenshots
(cursor not captured in screenshots, but the preview vs entered note is shown)


Platform information
- OS: Windows 10
Additional context
As long as the preview threshold is the same as the note entry threshold in terms of cursor distance from line/space, it will be fixed. Doesn't matter which is discovered to be "correct"
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 in Input Mode by hovering near the B4/C5 boundary, moving across the preview threshold, and clicking to enter the note. Compare the previewed pitch with the written pitch; done means both use the same cursor-distance threshold.
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