I set the key bind of Toggle Gamer Axe to Not bound and closed, then the game cannot create a screen when I reopened Minecraft.
It seems that GLFW cannot handle the unknown key bind, but this does not cause the same issue in other mods, so I suspect it's a design defect in indrev's code, such as some force calls to key binds(I haven't checked the source code yet so these are only my inferences).
Steps to Reproduce:
Open Minecraft and navigate to Key Binds setting screen
Set the key bind of Toggle Gamer Axe to Not bound (press Escape after clicking the key bind)
Close Minecraft
Reopen it, and the game cannot create a screen, with an error GLFW error 65540: Invalid scancode -1
The definition of "cannot create a screen" means that the game can load, but without having a screen. Minecraft just idles in the dock and I cannot operate the game.
Technical Information:
Minecraft: 1.18.2
Fabric API: 0.67.0
Industrial Revolution: 1.14.1-BETA
Modpack: None. I'm testing Indrev in a new 1.18.2 instance as I'm suspecting the key bind issue.
Computer Information: Mac, having up-to-date drivers.
The error looks like:
The Invalid scancode -1 actually happens very often in logs, as players are scrolling down to a Not bound key bind option. But they does not cause crashes or issues like not showing a screen. So this bug is quite eerie and toxic. Hope that you can repair it, thanks.
Description:
I set the key bind of
Toggle Gamer Axe
toNot bound
and closed, then the game cannot create a screen when I reopened Minecraft.It seems that GLFW cannot handle the
unknown
key bind, but this does not cause the same issue in other mods, so I suspect it's a design defect in indrev's code, such as some force calls to key binds(I haven't checked the source code yet so these are only my inferences).Steps to Reproduce:
Key Binds
setting screenToggle Gamer Axe
toNot bound
(pressEscape
after clicking the key bind)GLFW error 65540: Invalid scancode -1
Technical Information:
Logs:
Crash Log
Details:
Computer Information: Mac, having up-to-date drivers.
The error looks like:
The
Invalid scancode -1
actually happens very often in logs, as players are scrolling down to aNot bound
key bind option. But they does not cause crashes or issues like not showing a screen. So this bug is quite eerie and toxic. Hope that you can repair it, thanks.