musescore / musescore/MuseScore
Keyboard focus remains in menu when adding text
@Eism is already working on this.
Since May 16, 2024.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Describe the bug
If you use the keyboard to access the Add menu to add text to your score, keyboard focus remains in the menu, making it impossible to type letters that correspond to menu mnemonics (eg, "F" for "File")
To Reproduce
Steps to reproduce the behavior:
- Select any note or rest
- Press Alt+A to open the Add menu
- Cursor down to Text
- Press Right to open the Text submenu
- Cursor down to Staff text
- Press Enter to add a staff text
- Start typing
- See errror: you can't type the letters F, E, V, A, O, T, P, H, or D, because these keys open the corresponding menu (File, Edit, etc)
Expected behavior
Keyboard focus should be on the score so you can type normally
Platform information
- OS: Linux, Windows
Additional context
Workaround is to press Esc to return focus to the score before you begin typing. Orca and NVDA at least read the menu as it opens, giving you a clue that something has gone wrong. Not sure if that's true for all screenreaders.
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.