Steps to recreate:
1. Open an enchantment table
2. Put any stackable item in your hotbar,=
3. Hover over the enchanting slot
4. Press the number key of the stackable item
5. You only get one.
The rest are deleted.
This works with any stackable item.
This was discovered while playing survival and trying using the number keys to move 64 books to the table..
Duplicate of Unresolved
MC-11207
If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.