Wayland crashes whenever closing a flatpak app

For many of my flatpak apps installed, closing them crashes Wayland. Doesn’t seem like all flatpak apps, and I haven’t deducted any details why some crash and some do not.
At least some of the apps crashing for me:

  • Podman Desktop
  • Obsidian
  • Discord
  • Godot
  • KRDC

What can I look to to investigate or what can I provide to diagnose it? haven’t been able to find much online that helped solve.
I have .kcrash from the Dev Information from the crash reporter, should I post the whole thing here?
I’m on a Framework 13 AMD (seems more software-related)

Can you check if all of this flatpaks have something in common like common runtime:

flatpak list --app --columns=application,runtime`

There wasn’t a common runtime with the problematic apps. I tried out Sway and eventually discovered the socket=wayland flag for flatpak apps, which wouldnt launch at all in Sway. So, I applied the same to the problematic apps in plasma and that seems to solve the crashes.
As a more newbie to flatpaks, I wish it handled this better, or even if there was a global env variable to apply to all flatpaks as the compositor will only be wayland.

Still have problems with the Steam app, but that seems like a different dbus beast.

I don’t have any issues out-of-box with flatpak apps on Wayland (but only tried Podman Desktop from your list).

I have been using flatpaks for years (but non from your list) and I have never have had any severe problems like crashes.

If there is a crash, then this is most probably a bug somewhere. But… Blufin is nothing special about flatpaks, it works just like any other Linux distribution with flatpaks. You will most probably get way better answers related to flatpaks on flatpaks upstream forum. They are very helpful, I have asked several questions on that forum.

Actually global setting for all flatpaks really exists. The simplest way is to open Flatseal application (already installed by default in Blufin) and at top left there is “All Applications” option that is setting valid for all of the installed flatpaks.