I tried apt install xdg-desktop-portal-gnome and since it was installed I tried reinstall and also rebooted and logged out and back in - none of these options solved the problem.
But I found a different solution. Brave was installed before upgrade to 22.04, so I did an apt purge brave-browser and then apt install brave-browser. This seems to have fixed the problem.
I tried apt install xdg-desktop- portal- gnome and since it was installed I tried reinstall and also rebooted and logged out and back in - none of these options solved the problem.
But I found a different solution. Brave was installed before upgrade to 22.04, so I did an apt purge brave-browser and then apt install brave-browser. This seems to have fixed the problem.