flathub / org.qbittorrent.qBittorrent

https://flathub.org/apps/details/org.qbittorrent.qBittorrent
9 stars 12 forks source link

KDE/plasma browser is not being invoked #86

Closed kha84 closed 2 years ago

kha84 commented 2 years ago

Whenever I try to open any URL from qBitTorrent (like from Help -> About or Search -> Search plugins ) nothing happens. No errors are being logged to logfile, but if I run qBitTorrent from CLI I get this as a result of my clicks:

Failed to call portal: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files

I'm guessing there might be some small integration gap in how flatpak applications are invoking a browser app, which itself is not a flatpak app, or just a minor issue of this particular flatpak build.

kha84 commented 2 years ago

Sorry mates, it's entirely my own fault. Just googled it a bit more, regarding how flatpak apps are suppose to integrate into Desktop Environment and found, that I was missing appropriate portal. Just installed xdg-desktop-portal-kde package and everything went hunky-dory.

kha84 commented 2 years ago

For whoever will stumble by the same thing after me, this is what worth reading - https://community.kde.org/Guidelines_and_HOWTOs/Flatpak#Flatpak_portals

kha84 commented 2 years ago

And sorry for spamming, but - you did a magnificent job on qBitTorrent and flatpaking it. My deepest respect