Try the following IF @Mirdarthos suggested command reveals that xdg-desktop-portal-gnome
is installed:
sudo pacman -Rdd xdg-desktop-portal-gnome
sudo pacman -S xdg-desktop-portal-kde
More information: Stable Update 2023-06-04 under the heading Many applications (firefox, thunderbird, telegram, etc) slow to start on desktops other than Gnome.
However, I don’t see that this would necessarily cause the crash you describe.
Edit: Command updated to the kde backend.