mojira.dev
MC-153680

Sticky left and right click exploit when reloading resource pack

The bug

The game can continue to receive left and right click input after the key is released.

How to reproduce

  1. Hold left mouse button

  2. Press F3+T to reload the resource pack

  3. Release left mouse button

Observed results

Left click is inputted forever until you click it agin. You can even tab out with pause on lost focus disabled and it will continue in background.

Expected results

Left click is no longer inputed once the key button is released.

Linked issues

Comments 19

Affects 20w51a and it also affects the right-click button.

Can confirm in 1.16.5 and 21w08b.

I can confirm for 21w13a

I can confirm for 21w14a

9 more comments

I can confirm for 1.19.4

I can confirm for 1.20.1

I can confirm for 23w31a

Can confirm 23w44a

Ashwin Selvakumar

(Unassigned)

Confirmed

Input, Resource Packs, UI

Minecraft 1.14.2, 20w29a, 20w49a, 20w51a, 1.16.5, ..., 1.20.1, 23w31a, 1.20.2, 23w44a, 1.20.3 Pre-Release 2

Retrieved