I had two different items on my hotbar, went into my inventory and switched them using the number keys, closed my inventory, and used secondary click one one of the blocks or items. When I did this, slot with the item I used became populated with an exact copy of the item(s) that were in the slot that was switched.
See video for demonstration.
Related issues
Attachments
Comments

[media]

Your MP4 does not work. If you need to attach a video, try using an AVI file or YouTube.
Or try using some screenshots (F2 in-game) to show us the problem.