mojira.dev
MC-48280

Stalled <SHIFT> Key when using alternative keyboard layouts

This is a know bug of LWJGL, see: https://github.com/LWJGL/lwjgl/issues/13

It has been reported with Mac OS with DVORAK keyboard layout and I am fighting with the same problem on a Linux machine using Neo2 ( http://en.wikipedia.org/wiki/Neo_%28keyboard_layout%29#Neo )

Although it is a bug of a library I guess it's Mojangs turn now:

  • How can you replace the version of LWJGL Minecraft uses? Since I.7.x it isn't that easy anymore. I did some tries but minecraft simply didn't start anymore.

  • Please use the new LWJGL version in the next release

  • Another, not that nice but probably much easier workaround: Please allow selecting another key than <SHIFT> in the "Controls..." settings tab as the inventory modifier

Thanks for any kind of help!

Arne

Comments 16

Is this still a concern in the current Minecraft version Minecraft 1.7.8 and Snapshot 14w11b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Please update the affected versions. Also, lwjgl blocks the use of some keys using an alternate keyboard layout.

Updated the version list. This problem still occurs with latest snapshot.

This is not a Minecraft bug, but a LWJGL one. Therefore, this is a (feature) request to update the LWJGL used, making this bug invalid.

No, it is fixed in a sepcific version of LWJGL, mojang just needs to add it to the launcher.

6 more comments

Was the fix backported into 2.9.4-nightly-20150209 if it was when new build were released? Or is it fixed in MC source code?

No, the fix is only present in 2.9.4-nightly-20150728. If you update the files to the newest nightly build by hand the bug is gone.

What I did to solve the bug:

  • download and extract the latest nighlty build from: http://ci.newdawnsoftware.com/job/LWJGL-git-dist/lastBuild/

  • remove all .jar and .jar.sha files from ~/.minecraft/libraries/org/lwjgl/lwjgl/{lwjgl,lwjgl-plattform,lwjgl_util}/2.9.4-nightly-20150209/

  • copy newest lwjgl.jar to ~/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar

  • create shasum of said file

    shasum lwjgl-2.9.4-nightly-20150209.jar | sed -e "s/ .*//" > lwjgl-2.9.4-nightly-20150209.jar.sha
  • repeat 2 previous steps accordingly with lwjgl_util

  • create jar file from needed native libraries of nightly build

    jar cf lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar liblwjgl* libopenal*
  • copy jar file to /home/julkip/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209

  • create shasum of this jar

If you start minecraft now, the shiftbug is gone.

How is this resolved if MC still uses the old buggy lwjgl version? Please update!

@julkip: Can you get your workaround working for 1.9? For me MC always redownloads the libraries but keeps the SHA files untouched.

It seems that the hashes of the files are no longer stored in the filesystem, but in ~/.minecraft/versions/<version number>/<version number>.json
Unfortunately my tests so far have not been sucessful. It seems that this json-file itself is redownloaded upon the start of the game. Maybe it would be possible to set up a local http-server and direct the download request of this file to it, but that would be just a little bit of overkill.

It would all be much easier if Mojang would just update the library.

Bump. Please reopen

Arne

(Unassigned)

Unconfirmed

Minecraft 1.7.4, Minecraft 1.7.9, Minecraft 14w26c, Minecraft 1.7.10, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.9.4, Minecraft 1.10

Retrieved