mojira.dev
MC-59363

Items in item frames are deleted if both mouse buttons are used simultaneously

The combination of right click to place an item in a frame and left click to pop off the item frame appears to cause items to permanently disappear from my inventory without being placed or dropped anywhere.

What I expected to happen was...:
I expect the item to be placed in the item frame and immediately popped back off... or, the item frame to pop off first and I keep my item.

What actually happened was...:
If you press left and right at around the same time, the item is removed from my inventory, and instead of popping off the item, the whole item frame pops off instead.

Additionally, the item is completely destroyed (not in inventory os as inventory). I can confirm this with the following test:

1. /gamerule doMobLoot false (prevent chicken eggs from messing us up)
2. /kill @e
3. Respawn
4. /kill @e[type=Item]
5. Place item frame and press both buttons as described
6. Pick up the item frame
7. /tp @p @e[type=Item] -> Gives an error since no Item entities exist.
8. Relog and notice that the item is still gone (not a client side error)

Steps to Reproduce:

1. Open a new singleplayer survival world with cheats.
2. /give @p minecraft:item_frame
3. /give @p minecraft:bucket (or your favorite item)
4. place the item frame on a wall.
5. With the bucket, press both mouse buttons with the right button pressed slightly earlier than the left.
6. If the item did not place, or if the item pops out the timing was off. It may take a few tries to get it.

Linked issues

MC-98370 UnDuplication with Item Frame Resolved MC-106828 Item Frames can delete items. Resolved MC-112154 Item frames lose inserted items when destroyed by a projectile simultaneously Resolved MC-120343 Items disappearing in item frames when being shot at Resolved MC-123377 Item Frames Can Delete Items Resolved

Comments 9

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.

Cannot reproduce in 1.8.

This is still happening in 15w51b, reopen it please.

Confirmed for 16w32b. It only happens sometimes though.

Still here up through 16w40a, by the way.

Should be noted. That when the player inserts the item into the item frame, the item frame is considered 'dead'. Which is why the item does not get ejected.
This is probably useful information for the resolution of this issue.

[Mod] Asteraoth

Confirmed for 1.13.1-pre1

[Mod] Asteraoth

Confirmed for 1.13.1

Affects 1.15-pre1

Patrick Horn

Felix Jones

Confirmed

(Unassigned)

Minecraft 14w25b, Minecraft 14w26c, Minecraft 1.7.10, Minecraft 15w51b, Minecraft 1.9, ..., Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.14.4 Pre-Release 6, 1.14.4, 1.15 Pre-release 1

Minecraft 1.8, 20w06a

Retrieved