In the latest 1.14 snapshot shift-clicking the destroy item button and /clear only remove items that are in or had recently been in a players hot bar.
Here is a video demonstrating the glitch: https://youtu.be/OVNHTKRYu_Q
Hope this helps!
I saw this issue for the 1.13 snapshots but do not know how to re-open it and it is slightly different.
Thank you for your report!
However, this issue has been closed as a Duplicate of MC-141883.
It has been linked to this report. If you have additional information, please add it to the duplicated report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki