Kwin is a quite configurable and reliable window management. Nevertheless animations and style are usually a bit inconsistent with each other, and the stock Deepin kwin suffers a little bit of if too.
So I have created an improved kwinrc configuration file that fixes all those small sharp corners.
I have just uploaded it to GitLab, in case someone finds it useful: