mojira.dev
MC-190503

Unable to shift click items if swap to offhand is bound to "Shift"

Having "Swap Item With Offhand" bound to Shift disallows proper shift clicking in inventory.

Attachments

Comments 8

This is WAI since you can use offhand binds in GUIs as of 1.16. You need to rebind your offhand to another key.

Not necessarily. The shift keybind in inventories cannot be rebound, so it should probably take precedence.

In my experience it's intermittent but very common.  At times items will swap when holding shift while in the inventory.

This bug is consistent on my setup: I always change sneak shortcut to F, and 'Swap Item With Offhand' to 'Left Shift'

 

And when I open a chest and shift-click some item to move quickly to the chest I end up swapping pointed item to my offhand rather than transferring it to the chest

Can confirm in 21w06a

Can confirm in 24w14a. Here is a video demonstrating the issue:

[media]

Considering the issue has not been kept up with since snapshot 21w06a, I would like to request ownership of this issue.

Still present in 1.21.3.

Ryan Taylor

(Unassigned)

Confirmed

Platform

Low

Input, UI

1.16 Release Candidate 1, 1.16, 21w06a, 1.20.5 Pre-Release 1, 1.21.3, 25w03a

Retrieved