The item is deposited when the mouse button is released, rather than first pressed, and is also deposited at the point where the click happened rather than where it ended.
The preferred behaviour would be to have it be deposited where it was first clicked, like with item stacks normally, but when the button is first pressed. Dragging should either do nothing, or continuously empty the bundle's contents into each highlighted inventory slot.
To reproduce:
Have a bundle with one or more items inside
Click this bundle to pick it up
Hold down right click and drag it across several inventory slots
Notice that when releasing right click, an item is dropped off where you first clicked
Compare this behaviour to a stack of stackable items and note the inconsistency
Linked issues
is duplicated by 2
Attachments
Comments 15
Please update and clarify the bug report with:
Repro steps
The behaviour that happens
The expected behaviour
Summary: When putting an item into a bundle, it will be put into it when releasing mouse button, even though when removing them from a bundle, it will already happen when you start holding down the right mouse button. This is inconsistent.
Repro steps:
Get a bundle and one other item
Put the item into the bundle, but hold down right click for longer, than you would usually do
The behaviour that happens: The item will be put into the bundle when you release the mouse button.
The expected behaviour: The item will already be put into the bundle when you start holding down right click, since taking the item out of a bundle already takes it out when you start holding down right click.
relates to MC-269205
Confirmed in 1.21.2 pre1, the behavior has changed a bit since the start of 1.21.2 snapshots and I think the description could get confusing.
Right now the bundle deposits items by left clicking, but it will only deposit the item on button release rather than first press. The expected here would be to deposit it on first press (as it was originally mentioned in the report).
Same thing happens when releasing items in the inventory by right clicking, where the expected would be to release an item on button first press, like the above.
Lastly, when right clicking and dragging a bundle full of items, only the first item will be released in the inventory at the incorrect slot, rather than releasing the item stacks consecutively (which I believe should be the expected, so it is consistent with item stacks). You could also argue that despositing multiple item stacks into the bundle by dragging left click should work as well, but that wasn't originally mentioned in the report.
Can confirm