musescore / musescore/MuseScore

Clicking in Input Mode sometimes assigns a different note than is previewed

Open
#14,299 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P2 UX/interaction
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)
image
image

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.