musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.26k stars 2.65k forks source link

[MU4 Issue] [Accessibility] If File popup menu is triggered, pressing Escape only once doesn't return focus to score totally #13350

Open DmitryArefiev opened 2 years ago

DmitryArefiev commented 2 years ago

To Reproduce

  1. Select note
  2. Press Alt to enable File menu in Menu bar
  3. Start to navigate down (with down arrow) through File menu elements
  4. Press Escape - File button is still under focus rectangle
  5. Press up arrow several times - the note selected in step №1 starts to move. It happens because focus returned to score, but partially it's still on Menu bar as well
  6. Now press right arrow - focus returns to Menu bar again (without pressing Alt)

https://user-images.githubusercontent.com/90187801/190151449-2a5680f7-01fc-4486-9c8b-33dc1b033e26.mp4

Expected behavior Here can be two design solutions:

  1. If File popup menu is triggered, pressing Esc returns focus to score totally (and focus rectangle on File button disappears as well)
  2. If File popup menu is triggered, pressing Esc leaves focus on Menu bar totally. In this case to return focus to score you need to hit Esc again

Platform information Windows, Linux

Additional context

12075

DmitryArefiev commented 2 years ago

This issue is more critical for accessibility than for navigation