When you right click with a filled bucket on a block that already is filled with that same fluid, it plays the sound and animation as if you are emptying the bucket, but the bucket remains filled and can be emptied elsewhere. In previous versions, right clicking in that manner would empty the bucket, thus "destroying" its contents.
Thank you for your report!
We're tracking this issue as MC-181499, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki