The problem occurred on Brave browser using standard KDE.
Anyway this explains it nicely. I guess flatpak itself is ok but a lot of things are in the hands of package maintainers and if they don’t set things up correctly then there will be issues. Makes sense