mojira.dev
MC-118107

Action of some keys continuously repeat if you hold them

The bug

If you hold one of these keys when you are in the world, they will be repeated.

  • F1

  • F3 + debug key

  • F5

  • "Toggle Cinematic Camera" (when attached to a key)

  • Q
    Note: For the Q (drop item) key this might be intended since this behavior apparently existed already in 1.7.10 and earlier. Therefore if this is really intended it would be good if that was officially confirmed.

  • E (MC-93437)

  • P (opening Social Interactions screen)

  • Space after clicking the recipe book in the inventory

  • F4 while spectating a creeper, cave spider, spider or enderman

  • Esc

  • Number keys (number keys should only be intended when editing a text field)

  • F

(List may be incomplete)

Also works with buttons "Attack/Destroy", "Pick Block", "Use Item/Place Block" if they are assigned to keyboard keys, not mouse. (MC-129132)

How to reproduce

  1. Take a stack of any items in the hand

  2. Hold down the Q button, holding the stack items
    → See how fast you throw items

Linked issues

Attachments

Comments 70

KamiADN

This also applies if you change, for example, the attack on the "E" key and keep it pressed down, hits too fast until you press another key. Or if you switch to the "F" key to put blocks, it puts them very quickly too.

I use these keys to play this way instead of with the mouse and it is very annoying.

I hope it can be fixed before the release!
Confirmed on 17w45b. Win10 - 64bit - Java: 1.8.0_25 64bit

marcono1234

@@unknown which version are you confirming this for?

KamiADN

@Marcono1234 Edited 😉 17w45b

KamiADN

Confirmed on 17w48a

KamiADN

Still present in 18w01a

60 more comments
SoloAlguien

Can confirm in 1.18.2.

mattp12

I imagine that at least holding Q is intended behavior, as in 22w42a MC-135973 "Can't hold Q to drop items rapidly from container inventories" was fixed.

AprilShade

This also affects the 1-9 number keys (Hotbar Slots 1-9), F (Offhand), Ctrl + B (Toggle Narrator), C + 1-9 (Save creative hotbar), X + 1-9 (Load creative hotbar)

Additionally, there seems to be some other odd behaviour when holding the 1-9 keys. When not in the inventory, holding these keys seems to queue button presses for after you let go of the button. For example, by holding the 9 key for a few seconds, it will continue thinking you're holding 9 for 1-2 seconds after releasing it, which can cause you to switch to the 9th hotbar slot, show/hide the hotbar in spectator mode, or save/load creative hotbars after releasing the button.

Fusion035

The switch off-hand is also important. When you hold the key for that it makes a lot of noise especially if you do it holding armor pieces. You can't hear the noise but other people can.

clamlol

As of 23w06a the pause menu (esc key) is also affected.

JUE13

(Unassigned)

1256324

Confirmed

Platform

Normal

Accessibility, UI

controls

Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, ..., 1.20.5, 1.20.6 Release Candidate 1, 1.20.6, 1.21 Pre-Release 3, 1.21

Retrieved