Spectacle for KDE is also a good choice.

https://apps.kde.org/spectacle/

I found Flameshot to work flawlessly only on Linux X11 and Windows. Other platforms (Wayland, macOS) have problems.