During gameplay in survival, both single player and on servers, while placing blocks, 'use item' control (in reporters case, control-click) gets 'stuck' and places blocks, opens/closes doors, or performs any other 'use item' function until there's no more space to place blocks/it is interrupted by accessing the game menu/user quits.
What I expected to happen was...:
To place a block or open a door once.
What actually happened was...:
Placed blocks until there was no where available to place them. Open and closed doors indefinitely.
Steps to Reproduce:
1. Place a block/Open a door in Survival.
2. Continue until you get stuck 'using item'.
Related issues
duplicates
Comments
I have reinstalled Minecraft, keeping my saves. The bug remains unchanged.

Duplicate of MC-23132.
The bug now makes the game virtually unplayable. It occurs once every 1-1.5 minutes, or approx. once in three attempts to place a block. I have also updated to Java 7 Update 40 and the bug remains unchanged.