Bug 509470

Summary: Can't open pdf file from SFTP
Product: [Developer tools] Qt/KDE Flatpak Runtime Reporter: Villemur Clément <villemurclement>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: REPORTED ---    
Severity: normal CC: aacid, kde, villemurclement
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Villemur Clément 2025-09-13 21:53:58 UTC
SUMMARY


STEPS TO REPRODUCE
1. Connect to a sftp share in dolphin
2. Open pdf file in Okular Flatpak
3. Error Unknown "sftp" protocol

OBSERVED RESULT

Impossible d'ouvrir « sftp://maledict@192.168.1.30/home/maledict/Drive/Cours/Licence/Info3/SR1/Cours/01-Intro-SE-Unix-C.pdf ». Raison : Impossible de créer un module d'entrée / sortie. Protocole « sftp » inconnu.
Translation : 
Unable to open "sftp://maledict@192.168.1.30/home/maledict/Drive/Cours/Licence/Info3/SR1/Cours/01-Intro-SE-Unix-C.pdf". Reason: Unable to create an input/output module. Unknown protocol "sftp".

EXPECTED RESULT
File should open, just like on the native Okular package. 

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.5-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600 6-Core Processor
Memory: 32 Gio of RAM (31.2 Gio usable)
Graphics Processor: AMD Radeon RX 6700 XT

ADDITIONAL INFORMATION
This error only happens on the flathub version, the one from fedora flatpak has a different error. 
Using Okular as a system package works fine.
Comment 1 Villemur Clément 2025-09-13 22:00:43 UTC
The bug is also present in Nightly KDE Flatpak Okular.
Comment 2 Sune Vuorela 2025-09-15 10:36:05 UTC
KIO-extras in the flatpak is built without libssh / SFTP support, so reassigning there.