On some menus with scroll bars, you can scroll away from a selected button. Pressing enter at this point presses the button, but the menu is not scrolled down to show the button. This also affects selected horizontal sliders such as the Glint Speed slider. Left and right arrow keys change the slider position without focusing on the option being changed.
As of now a click sound is heard but it is not immediately clear to the user which option has changed.
I'm not sure if this is more of a bug report or a feature request, but in my opinion having the menu auto-scroll down to where the button is makes sense.
Linked issues
Attachments
Comments 3
Ah okay. I don't exactly think my issue is a duplicate because I am specifically talking about the lack of menu focusing. Because for example, for accessibility reasons, you may be using tab to navigate the menus and using enter to confirm. If the menu is scrolled away while the button was already tabbed into, it is not immediately obvious what happens after clicking enter because the menu stays where it is (besides the button click sound). It just so happens that this issue also occurs if you had clicked a button normally, scrolled, and hit enter (because of the linked bug you mentioned).
The issue you linked talks about how buttons stay selected after clicking. In my opinion this is related but not the same thing necessarily. The linked issue may indeed be a bug in its own right, but I think mine is related rather than being the same thing.
I'll leave this open but mark it as related to MC-259387, as it's a separate issue that can in theory also be reproduced without that issue:
Go to Singleplayer → Create New World → More → Game Rules
Press TAB a few times
Move the scrollbar with your cursor, so that the button is no longer visible
Press Space (or Enter)
Buttons are supposed to remain highlighted when using keyboard controls; only them remaining highlighted when clicking is covered by MC-259387.
Duplicate of MC-259387.