musescore / musescore/MuseScore
Navigation position is forgotten when selection is cleared
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
Other type of issue
Bug description
If the score has focus but nothing is selected in the score, pressing a navigation shortcut commences navigation from the beginning of the score instead of from the last known position in the score.
This means that blind and keyboard users can lose their position in the score simply by clearing the selection, which is easy to do accidentally (e.g. by pressing Esc or by clicking on a blank area of page).
Steps to reproduce
- Select a note or rest somewhere in the middle of a score (not at the beginning).
- Press Esc or left click on a blank area of page to clear the selection.
- Press the Left or Right arrow key.
Expected result: The note or rest selected in step (1) should become selected again.
Actual result: The selection jumps back to the beginning of the score.
The result is better if you press Alt+Right in step (3) instead of just Right on its own. In the Alt+Right case it selects the element next to the one that was previously selected in step (1). It would be better if it selected the exact same element as was selected in step (1), but at least it doesn't jump all the way back to the beginning of the score.
Screenshots/Screen recordings
No response
MuseScore Version
Latest nightly (05cb052)
Regression
No.
Operating system
Windows 11
Additional context
No response
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.
Assessment
This issue has not been assessed yet.