While playing in the snapshots, I often had the problem that my Ctrl-key randomly got stuck, which caused problems like pressing "a" while writing in chat clears your whole text, trying to throw one item throws a whole stack, or hitting backspace clears the whole word instead of only one letter.
It took a while until I noticed that a combination of holding the AltGr-key and quickly moving my mouse was responsible for this problem. I also noticed that this happens more often when the game is lagging and not running smooth.
Steps to Reproduce:
1. Hold down AltGr and quickly move your mouse (moving my mouse in big circles worked the best for me)
2. Hold a stack of items and hit "q" once. If instead of one item the whole stack is thrown, it indicates that your Ctrl-key is stuck
3. If it didn't work, try moving your mouse quicker/ in bigger circles/ for a longer time or somehow create some lag while you move your mouse
Related issues
duplicates
Comments


Please check if MC-127862 describes your issue and if you can reproduce it without moving the mouse.

I was able to reproduce it without moving the mouse, but reproducing the problem with moving the mouse was easier for me.
You can mark this post as a duplicate and I will add some information in the comments of the other bug report.
Couldn't confirm for MC 1.13-pre3.Cannot reproduce. I followed your steps and it didn't cause any type of lag / CTRL stuck.