Flatpak Okular silently crashes when opening signed PDF

Hello, the title says it all, but I can be more specific. I'm on Mageia 8 (64 bits) and have installed Okular from both the regular repos and Flatpak (I needed the most recent version to digitally sign PDFs).
Both seem to run OK, but the Flatpak one silently crashes when opening digitally signed PDFs, whereas it can open non-signed PDFs just fine. There's no error message when clicking those PDFs in Dolphin, it just does nothing, but the regular version opens both just fine.
This is not urgent as the workaround is simply using the regular version, but I wonder how to find what causes this bug, and whether somebody else can reproduce it.
This is the regular version:
And this is the flatpak one:
I've tried to open a signed PDF with Flatpak Okular from the command line. It spits some errors, but when opening a non-signed PDF I get the same. The only difference is that only the non-signed PDF is successfully opened:
Both seem to run OK, but the Flatpak one silently crashes when opening digitally signed PDFs, whereas it can open non-signed PDFs just fine. There's no error message when clicking those PDFs in Dolphin, it just does nothing, but the regular version opens both just fine.
This is not urgent as the workaround is simply using the regular version, but I wonder how to find what causes this bug, and whether somebody else can reproduce it.
This is the regular version:
- Code: Select all
rpm -q okular -i
Name : okular
Epoch : 2
Version : 20.12.0
Release : 1.mga8
Architecture: x86_64
Install Date: diumenge, 9 de maig de 2021, 12:39:11
Group : Graphical desktop/KDE
Size : 9229276
License : GPLv2
Signature : RSA/SHA256, dilluns, 14 de desembre de 2020, 07:16:18, Key ID b742fa8b80420f66
Source RPM : okular-20.12.0-1.mga8.src.rpm
Build Date : dilluns, 14 de desembre de 2020, 07:07:44
Build Host : localhost
Packager : daviddavid <daviddavid>
Vendor : Mageia.Org
URL : https://kde.org/applications/graphics/org.kde.okular
Summary : A universal document viewer
And this is the flatpak one:
- Code: Select all
flatpak info org.kde.okular
Okular - Visualitzador de documents
ID: org.kde.okular
Referencia: app/org.kde.okular/x86_64/stable
Arquitectura: x86_64
Rama: stable
Versión: 22.12.2
Licencia: GPL-2.0+ and GFDL-1.3
Origen: flathub
Colección: org.flathub.Stable
Instalación: system
Instalada: 141,0 MB
Runtime: org.kde.Platform/x86_64/5.15-21.08
Sdk: org.kde.Sdk/x86_64/5.15-21.08
Commit: 662cca5b75272ae01ae52cf9a9fce55b1553fcc9d4f30bb5ef1b78b5f43b4101
Padre: c5a4a72cf3de541e9779773d009955411610f9ce0bd42e2eef26dbb0b0673ec0
Asunto: Version update (0be0a34e)
Fecha: 2023-02-02 19:33:24 +0000
I've tried to open a signed PDF with Flatpak Okular from the command line. It spits some errors, but when opening a non-signed PDF I get the same. The only difference is that only the non-signed PDF is successfully opened:
- Code: Select all
flatpak run -v --branch=stable --arch=x86_64 --command=okular --file-forwarding org.kde.okular @@ ./Conveni\ definitiu\ signat.pdf @@
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/kateto/.local/share/flatpak
F: Opening user flatpak installation at path /home/kateto/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/kateto/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-21.08/2e5a38d200ac5e9c17562bba10b43ac57b5ad4d455d52c16e250d6a03e002e9a/files/lib32 does not exist
F: Cleaning up unused container id 2192523831
F: Cleaning up per-app-ID state for org.kde.okular
F: Allocated instance id 2304301821
F: Add defaults in dir /org/kde/okular/
F: Add locks in dir /org/kde/okular/
F: Allowing dri access
F: Allowing host-fs access
F: Allowing wayland access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/kateto/.config/pulse/client.conf': S'ha produït un error en obrir el fitxer /home/kateto/.config/pulse/client.conf: El fitxer o directori no existeix
F: CUPS configuration file '/home/kateto/.cups/client.conf': S'ha produït un error en obrir el fitxer /home/kateto/.cups/client.conf: El fitxer o directori no existeix
F: CUPS configuration file '/etc/cups/client.conf': S'ha produït un error en obrir el fitxer /etc/cups/client.conf: El fitxer o directori no existeix
F: Running 'bwrap --args 40 xdg-dbus-proxy --args=42'
F: Running 'bwrap --args 40 okular './Conveni definitiu signat.pdf''