The Bug
When using left-click to break a leash knot attached to a mob and fence in creative mode drops the item. Right clicking it to destroy it doesn't do this.
Steps to Reproduce
Summon a pig and place down a fence.
Obtain a lead, and use it to leash the pig to the fence.
Ensure that you're in creative mode, if not already.
Use the Attack/Destroy button (left-click by default) on the leash knot.
Observed Behavior
Leash knots are dropped when broken in creative mode.
Expected Behavior
Leash knots would not be dropped when broken in creative mode.
Related issues
is duplicated by
relates to
testing discovered
Attachments
Comments

Can confirm for MC 1.12.1.

Confirmed for 1.13.1.

Affects 20w07a, can I request ownership?

Confirmed in 1.16-pre5.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a. Video attached.
Can confirm in 21w07a.
Can confirm in 1.16.5 and 21w08b.
Can confirm in 21w16a.
Can confirm in 1.17.1.
Can confirm this behavior in 21w40a. Here are some extra details regarding this problem.
The Bug:
Leash knots are dropped when broken in creative mode.
Steps to Reproduce:
Summon a pig and place down a fence.
Obtain a lead, and use it to leash the pig to the fence.
Ensure that you're in creative mode, if not already.
Use the Attack/Destroy button (left-click by default) on the leash knot.
Observed Behavior:
Leash knots are dropped when broken in creative mode.
Expected Behavior:
Leash knots would not be dropped when broken in creative mode.
Can confirm in 21w42a. I'd like to request ownership of this ticket since the current reporter has been inactive since March of 2020.
Can confirm in 1.18.2 and 22w19a.

Can Confirm 1.19.3 Release Preview 3
Can Confirm 1.19.2

In 24w12a.