mojira.dev
MC-310124

Leaving a menu that was opened using the keyboard doesn't select its button from the previous screen

Opening a menu and then leaving it used to always select the button that was used to open it from the previous screen, regardless of how you opened it. As of 26.3 Snapshot 4 however, this only happens if you used the left mouse button to open a menu; using the Enter or Space keys to open one doesn’t select anything upon leaving. This makes keyboard navigation a bit more tedious than it was before.

Steps to reproduce:

  1. Press the left mouse button to open a menu, e.g. Video Settings.

  2. Exit the menu.

  3. Observe whether the button used to open the menu is selected.

  4. Press the Space or Enter keys to open a menu, e.g. Video Settings.

  5. Exit the menu.

  6. Observe whether the button used to open the menu is selected.

Expected result:

The button used to open a menu would always be selected upon leaving it.

Actual result:

The button used to open a menu is only selected upon leaving if you used the left mouse button to open it.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

minecraft120

electfall

Confirmed

Platform HC

Normal

UI

26.3 Snapshot 4, 26.3

Retrieved