Discover from git master STEPS TO REPRODUCE 1. Use openSUSE Tumbleweed 2. Open Discover and install a distro-provided app (e.g. not Flatpak; it works for Flatpak apps) 3. Click the Launch button OBSERVED RESULT Nothing happens. Nothing is printed to the console, either EXPECTED RESULT The app launches
Can confirm with Discover master on Tumbleweed. Will take a look, see what's going on.
Can you confirm that the applications are properly coming from AppStream? they should show a nice icon, screenshots and descriptions. I'll try adding some debug information.
Git commit 72a68025e7bfaee5c456b884fa0f3d4d30f95433 by Aleix Pol. Committed on 28/10/2019 at 18:58. Pushed by apol into branch 'Plasma/5.17'. pk: notify about problems regarding file listing It could help diagnosing why this code doesn't work on opensuse. M +1 -0 libdiscover/backends/PackageKitBackend/AppPackageKitResource.cpp https://commits.kde.org/discover/72a68025e7bfaee5c456b884fa0f3d4d30f95433
Yeah they're definitely coming from AppStream. Also I can no longer reproduce this. Since Dan could also reproduce it, is it possible that something got fixed on the openSUSE side?
Oh so sorry, never mind, I can still reproduce it.
*** Bug 413897 has been marked as a duplicate of this bug. ***
I looked into it, it's an issue in the zypper backend: When we ask it the package files, it gives us a ;-separated list instead of a list of strings. Will report upstream and see if we can workaround it.
https://github.com/hughsie/PackageKit/issues/351
Thanks for investigating, Aleix!
Git commit 6e752399db71b8942a3b5c184206b33b115b1410 by Aleix Pol. Committed on 07/11/2019 at 16:07. Pushed by apol into branch 'Plasma/5.17'. pk+suse: include a hack to allow apps to be executed This workarounds the following opensuse bug where the user can't execute applications: https://github.com/hughsie/PackageKit/issues/351 M +7 -1 libdiscover/backends/PackageKitBackend/AppPackageKitResource.cpp https://commits.kde.org/discover/6e752399db71b8942a3b5c184206b33b115b1410