musescore / musescore/MuseScore

Navigation position is forgotten when selection is cleared

Open
#16,853 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

accessibility P2
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
  1. Select a note or rest somewhere in the middle of a score (not at the beginning).
  2. Press Esc or left click on a blank area of page to clear the selection.
  3. 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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.