SUMMARY I have a HP ENVY 5030 network scanner that has over the air scanning capabilities (works with gscan2pdf) When skanpage scans for devices, it doesn't appear in the list, only the webcam. Installed via flatpak kedapps repo (nightly) STEPS TO REPRODUCE 1. install skanpage 2. refresh device list 3. OBSERVED RESULT The scanner is not in the list EXPECTED RESULT The scanner should be listed and selectable SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 35/Plasma 5.24.1 (available in About System) KDE Plasma Version: 5.24.1 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Packaging: flatpak ADDITIONAL INFORMATION There is no manual setting to specify a scanner from IP/hostname which would be nice to have in case a firewall/router prevents from automatically discovering the scanner.
That it somewhat weird, as gscan2pdf uses the same underlying library as Skanpage does. Does Gnome's simple-scan/Document Scanner work?
Created attachment 147040 [details] screenshot skanlist
skanlite installed from rpm detected the network scanner. Installed Packages Name : skanlite Version : 2.2.0 Release : 4.fc35 Architecture : x86_64 Size : 2.9 M Source : skanlite-2.2.0-4.fc35.src.rpm Repository : @System From repo : fedora Summary : Lightweight scanning program URL : https://www.kde.org/applications/graphics/skanlite/ License : GPLv2 or GPLv3 Description : Skanlite is a light-weight scanning application based on libksane. gscan2pdf is installed from pdf . Document scanner works too, (installed from package) Could it be because of the flatpak packaging and permissions?
The flatpak doesn't seem to allow network by default. But even by allowing the network with flatseal it still doesn't work. I'll build from source to be sure it's a packaging issue
Well building from source fixes it.... It sees the network scanner and after a test run it works really well...
I didn't know that there is a flatpak for Skanpage. Can you point me to it?
(In reply to Alexander Stippich from comment #6) > I didn't know that there is a flatpak for Skanpage. Can you point me to it? I have enabled distribute.kde.org following https://community.kde.org/Guidelines_and_HOWTOs/Flatpak I know those are the nightlies but skanpage is not available on flathub. The flatpak packaging is defined here: https://invent.kde.org/packaging/flatpak-kde-applications/-/blob/master/org.kde.skanpage.json
OK, so obviously the flatpak nightly package is not fully working and fedora kde is not yet providing this application. Therefore, I have build the package for fedora kde 35+ here: https://copr.fedorainfracloud.org/coprs/monkeybizness/kdeapps/ This will be a temporary solution for people using fedora 35+ until it is officially packaged. As for the original issue about the flatpak package, I cannot really help. @alexander, what should be the best course of action? I think a flatpak package would be nice on flathub but not the nightly of course.
I think it's because the flatpak is built without avahi support, I already made a comment about that at https://invent.kde.org/packaging/flatpak-kde-applications/-/commit/b7f8b9f1881e7fffaf76822340398de14aee2935
Should be fixed by https://invent.kde.org/packaging/flatpak-kde-applications/-/merge_requests/76
Thank you for the follow up. I just tried and it doesn't work with the flatpak version. Maybe it hasn't been built with this fix yet. I'll check again tomorrow.
Still doesn't work for me in the flatpak version. Also, the flatpak default configuration should allow accessing the network. Not a big deal now as I have a rpm version that works.