Just installed Latte Dock, a few weeks ago. Even though the process of installing and customizing wasn’t error-free at all (several crashes and reboots with some patience involved), it has kept working fine, ever since I set it up on my KDE with WhiteSur theming: