mojira.dev
MC-68399

Pressing the '<' key takes screenshot on certain keyboard layouts

Reproduce:
1) Place a sign
2) Press the '<' key

This might happen only using "Spanish - International" on windows key distribution.

See screnshots:

Linked issues

Attachments

Comments 56

galaxy_2alex

Confirmed

mlakuss

Single player too

Berni U

Not only while writing a sign, for me it happens every time I press the key.

galaxy_2alex

Potentially a LWJGL issue.

Rebecca König

Happens to me on a Ubuntu 14.04 and German keyboard layout as well.

46 more comments
Manel Almeida

NOT resolved... 1.8.9 portuguese layout still taking screenshots...

violine1101

It will be resolved in 1.9 (in fact, it is already in the 1.9 development versions). The only change in 1.8.9 was the Realms integration, so in 1.8.9 there were no bug fixes. There is no reason to reopen this issue since it is already fixed.

Martin Salthe

Still getting error, I using a Nordic layout

Dlawso the Really Lucky Rabbit

Martin, is this only on 1.8.9?

Tjo

So basically:

To quick fix this, A: Use English keyboard setting.
To quick fix this, B: Switch the f2 button.

To fix it permanently in 1.8.9:

 Find the faulty file

  1. In your Minecraft folder, you will find the folder "versions"

  2. Go to "1.8.9".

  3. Open the "1.8.9.jar" with WinRAR (or whatever)

  4. And extract the "ave.class"

Patch the faulty file

  1. Download reJ: https://sourceforge.net/projects/rejava/

  2. In reJ: Open the "ave" class you have extracted.

  3. Find (ctrl+f): "public void Z()"

  4. You will see this somewhere at the start of that text:

    invokestatic int Keyboard.getEventKey()
    ifne label_12
    invokestatic char Keyboard.getEventCharacter()
    goto label_15
  1. Remove those 4 lines.

  2. Save. Now you got a patched "ave.class" file.

 Replace faulty with the patched file

  1. Open the "1.8.9.jar" with WinRAR (or whatever)

  2. Put the patched "ave.class" file into WinRAR to replace it.

  3. Delete META-INF folder.

  4. I use this json to accompany the jar: https://pastebin.com/GX7P95c1

  5. DONE. Start Minecraft.

Alejandro Bentivengo

(Unassigned)

Confirmed

Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8-pre3, ..., Minecraft 15w31c, Minecraft 15w32a, Minecraft 15w32b, Minecraft 15w32c, Minecraft 1.8.9

Minecraft 15w33c

Retrieved