[MC-1495] Stuck keys Created: 31/Oct/12  Updated: 09/Feb/13  Resolved: 01/Nov/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: None

Type: Bug
Reporter: Thue Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Windows XP and Linux, at least


Issue Links:
Duplicate
duplicates MC-886 Sticky movement is back... Resolved
Confirmation Status: Unconfirmed

 Description   

Sometimes a key such as "move forward" ("w") will get stuck, i.e. Steve will keep moving forward even though I have let go of the "w" key. The only way to stop Steve from going forward is to briefly press "w" again (walking into a lava pit also seems to stop Steve from going forward).

I think this happens when you are pushing keyboard and mouse buttons simultaneously, such as when moving while hitting mobs. Somehow Minecraft is missing a keyup event. Moving around killing endermen on DocM's enderman farm seems like a good way to reproduce it, but it seems to occur somewhat randomly.

This is an old and much-discussed bug: https://www.google.dk/search?q=minecraft+%22stuck+key%22 . See fx http://www.minecraftforum.net/topic/1153323-minecraft-stuck-keys-issue-solution-needed/ - but the much adviced "solution" of upgrading lwjgl doesn't fix it for me.

I also about as often have the problem that a keydown event is missed. Seems to occur in the same situations.



 Comments   
Comment by Chalmes (Jon) [ 31/Oct/12 ]

Duplicate of MC-886

Comment by Rob Klein Ikink [ 31/Oct/12 ]

pressing ESC twice also stops the player.

Generated at Sun Jan 12 11:54:38 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.