lwjgl3ify

lwjgl3ify

1.6k Downloads

Deadkeys dont work correctly as keybinds with lwjgl3ify. E.g., the Questbook only opens after pressing ` twice

chochem opened this issue ยท 5 comments

commented

Your GTNH Discord Username

chochom#0271

Your Pack Version

2.3.1

Your Server

sp

Java Version

Java 19

Type of Server

Single Player

Your Expectation

Pressing a keybind should make that happen.

The Reality

On keyboard layouts where ` is a 'deadkey' it now acts as such even as a keybind outside of textfields. It is also the default keybind for the questbook.

That means: If I press it nothing happens, then pressing some other buttons or pressing it again opens the questbook.

As expected, rebinding the questbook to a different key or switching the keyboard layout to one where ` is not a deadkey does work as a fix.

Your Proposal

I don't think it should do that. I am not sure what the best solution is. But deadkeys should not work like that outside of text fields.

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
  • I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
commented

Should be fixed in 2.0.0-alpha-7, please report back

commented

works

commented

still very much a problem in 2.4.0 sadly.

commented

This might be an unavoidable glfw bug, can you turn on debug key logging and post a log when you try to press a deadkey, then a deadkey followed by another key?
Possibly related: glfw/glfw#1765