STEPS TO REPRODUCE 1. make user AppCenter flatpak repo is not activated on your system 2. go to https://appcenter.elementary.io/com.github.phase1geo.annotator/ 3. download the flatpakref file by clicking on "Download as Flatpak" button 4. try to open the downloaded flatpakref file with Discover OBSERVED RESULT Discover fails to open the downloaded flatpakref file. Please see the attached screenshot. Disvover opens the flatpakref file as expected after installing it via cli. EXPECTED RESULT Discover opens the flatpakref file and we are able to install it. SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.23.80 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.3 Graphics Platform: X11
Created attachment 143634 [details] screenshot
Confirmed.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/212
Git commit 538f1400acc611737bff233f5715909a9b55b1ac by Aleix Pol. Committed on 13/12/2021 at 14:03. Pushed by ngraham into branch 'master'. Flatpak: Fix loading apps from alien flatpakref files So far it wasn't working well, we were relying on adding the source then loading the resoruce which is a rather weird way to go for this. Instead, now we are loading the appstream metadata locally to extract the component and get all the metadata which gets eventually cleaned up. M +96 -39 libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp M +1 -1 libdiscover/backends/FlatpakBackend/FlatpakResource.h M +19 -13 libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.cpp M +2 -0 libdiscover/backends/FlatpakBackend/FlatpakSourcesBackend.h https://invent.kde.org/plasma/discover/commit/538f1400acc611737bff233f5715909a9b55b1ac
it's still reproducible. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.23.80 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.3 Graphics Platform: Wayland
This is working perfectly for me with those changes and the fpltpak file linked to in the description. Can you provide a screen recording that shows the issue? I wonder if the change hasn't gotten into Neon Unstable yet for some reason.
Created attachment 144650 [details] screeen recording
Ok, as I suspected, you don't seem to be running with the changes applied. I suspect a Neon packaging bug. Hopefully it's just a case of Discover needing to be updated and pushed out as an update.