Flatpak: ZynAddSubFX VST crashes when Zrythm is started using the desktop file but opens when Zrythm is started using the command line.

Steps to reproduce

How it fails:

  1. Install Zrythm and ZynFusion (org.freedesktop.LinuxAudio.Plugins.ZynFusion) from flathub
  2. Launch Zrythm using the desktop file
  3. Drag ZynAddSubFX VST into the tracks view
  4. Get notified about a crash

How it succeeds:

  1. See above
  2. Launch Zrythm using flatpak run org.zrythm.Zrythm or flatpak run --command=zrythm_launch org.zrythm.Zrythm
  3. See above
  4. See ZynFusion UI opening

Further information

I am using the latest (1.0.0-rc1) release from flathub on Arch Linux with GNOME.