Anki as flatpak cannot open file manager

Hi, I’m using Anki as a flatpak. I know that it’s in the repos, but due to some issues with that one, I switched to the flatpak version. The dev supports neither the repo version nor the flatpak though, he tells people to “make install” his precompiled binaries :slight_smile:

How to reproduce:

  1. Open Anki
  2. Open add-ons dialog (eg Ctrl + Shift + A)
  3. Select an add-on
  4. Click “View Files”

Expected result: The add-on directory will open in dolphin

Observed result: Nothing happens

System info
System:    Kernel: 5.10.42-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: KDE Plasma 5.21.5 
           Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Laptop System: HP product: HP Laptop 14-bw0xx v: N/A serial: <filter> 
           Mobo: HP model: 8324 v: 22.27 serial: <filter> UEFI: AMI v: F.28 date: 04/09/2019 
Battery:   ID-1: BAT0 charge: 28.0 Wh (100.0%) condition: 28.0/28.0 Wh (100.0%) volts: 16.6 min: 14.6 
           model: HP Primary status: Full 
Memory:    RAM: total: 3.29 GiB used: 2.67 GiB (81.3%) 
           RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:       Info: Dual Core model: AMD E2-9000e RADEON R2 4 COMPUTE CORES 2C+2G bits: 64 type: MCP arch: Excavator 
           rev: 0 cache: L2: 1024 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 5990 
           Speed: 1928 MHz min/max: 1100/1500 MHz boost: enabled Core speeds (MHz): 1: 1928 2: 1935 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] 
           vendor: Hewlett-Packard driver: amdgpu v: kernel bus-ID: 00:01.0 
           Device-2: Sunplus Innovation HP TrueVision HD Camera type: USB driver: uvcvideo bus-ID: 1-1.3:3 
           Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu,ati unloaded: modesetting s-res: 1366x768 
           OpenGL: renderer: AMD STONEY (DRM 3.40.0 5.10.42-1-MANJARO LLVM 12.0.0) v: 4.5 Mesa 21.1.2 
           direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           bus-ID: 00:01.1 
           Device-2: Advanced Micro Devices [AMD] Family 15h Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus-ID: 00:09.2 
           Sound Server-1: ALSA v: k5.10.42-1-MANJARO running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: no 
           Sound Server-4: PipeWire v: 0.3.30 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard driver: r8169 
           v: kernel port: e000 bus-ID: 02:00.0 
           IF: eno1 state: down mac: <filter> 
           Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel port: e000 
           bus-ID: 03:00.0 
           IF: wlo1 state: up mac: <filter> 
Bluetooth: Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-1.4:4 
           Report: bt-adapter ID: hci0 rfk-id: 3 state: down bt-service: enabled,running rfk-block: hardware: no 
           software: yes address: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 203.94 GiB (43.8%) 
           ID-1: /dev/sda vendor: Western Digital model: WD5000LPCX-60VHAT0 size: 465.76 GiB 
Partition: ID-1: / size: 31.2 GiB used: 18.76 GiB (60.1%) fs: ext4 dev: /dev/sda4 
           ID-2: /boot/efi size: 256 MiB used: 84.7 MiB (33.1%) fs: vfat dev: /dev/sda1 
           ID-3: /home size: 196.89 GiB used: 80.4 GiB (40.8%) fs: ext4 dev: /dev/sda5 
Swap:      ID-1: swap-1 type: file size: 2 GiB used: 206.9 MiB (10.1%) file: /swapfile 
Sensors:   System Temperatures: cpu: 46.4 C mobo: N/A gpu: amdgpu temp: 46.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 208 Uptime: 8h 21m Init: systemd Compilers: gcc: 11.1.0 Packages: 1472 Shell: Bash v: 5.1.8 
           inxi: 3.3.04 

Anki version is 2.1.40 btw

Flatpak info
Name            : flatpak
Version         : 1.11.1-2
Description     : Linux application sandboxing and distribution framework (formerly xdg-app)
Architecture    : x86_64
URL             : https://flatpak.org
Licenses        : LGPL
Groups          : None
Provides        : None
Depends On      : dbus  glib2  libsoup  polkit  libxau  ostree  json-glib  libseccomp  libarchive  python
                  bubblewrap  appstream-glib  xdg-dbus-proxy  xdg-desktop-portal
Optional Deps   : None
Required By     : flatpak-builder  flatseal  pamac-flatpak-plugin
Optional For    : web-installer-url-handler
Conflicts With  : None
Replaces        : None
Installed Size  : 8.71 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Thu 03 Jun 2021 18:08:28
Install Date    : Tue 06 Jul 2021 03:29:57
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature