shedaniel / cloth-config

Client-Sided API for Minecraft 1.14
Other
188 stars 71 forks source link

Trying to navigate using TAB key in config menu crashes the game #176

Closed KabanFriends closed 9 months ago

KabanFriends commented 1 year ago

Cloth Config API version: 8.2.88 Minecraft version: 1.19.2 Mod Loader: Happens on both Forge & Fabric

When you try to navigate through the config GUI using TAB key, the game crashes. Strangely, this crash only happens on config menus created manually using cloth config, not the ones created with auto config.

This bug can easily be reproduced by pressing TAB key a few tiems in the Cloth Config API's example config menu.

shedaniel commented 1 year ago

Crash Logs?

KabanFriends commented 1 year ago

crash-2022-10-09_20.10.33-client.txt

haykam821 commented 1 year ago

This issue is still present on Minecraft 1.19.3.

MattSturgeon commented 1 year ago

This is caused by an implementation detail of the search box widget. Changing focus using <TAB> might still work if something is already focused. I'll put together a PR with a fix shortly.