mojira.dev
MC-250678

Holding down a hotbar slot key bind and releasing it prevents switching hotbar slots for a few seconds

Holding down a hotbar slot key bind for a few seconds and releasing it prevents any further switching to other hotbar slots, either by scrolling or using hotbar slot key binds, for a few seconds.

How to reproduce:

  1. Hold down a keyboard key that a hotbar slot key bind is bound to for about 5 seconds.

  2. Release it.

  3. Within the next few seconds, try to scroll or use hotbar slot key binds.
    -> ❌ The hotbar momentarily switches to the slot you tried to switch it to but then immediately returns to the previously selected slot.

Expected result:

Holding down hotbar slot key binds wouldn’t have an effect after being released.

Observed result:

Holding down hotbar slot key binds and releasing them prevents switching to other hotbar slots for a few seconds.

Linked issues

Attachments

Comments 2

It’s a real pain, when you need to switch to your bucket but accidentally had held down one key for two long

Also there are two types of this bug:

  1. When you change to a slot that os more on the left, then it will do nothing

  2. When it is more on the right, it will go to the slot but then just jump back

[Mod] ManosSef

(Unassigned)

Confirmed

Platform

Normal

Input

1.18.2, 22w16b, 1.19, 1.19.1 Pre-release 2, 1.20.2, 23w43b, 26.1.1, 26.2

Retrieved