Summary: | Discover is unable to open a .flatpakref file whose repo is not activated on my system | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Patrick Silva <bugseforuns> |
Component: | Flatpak Backend | Assignee: | Dan Leinir Turthra Jensen <leinir> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aleixpol, jgrulich, nate |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/discover/commit/538f1400acc611737bff233f5715909a9b55b1ac | Version Fixed In: | 5.24 |
Sentry Crash Report: | |||
Attachments: |
screenshot
screeen recording |
Description
Patrick Silva
2021-11-16 16:47:43 UTC
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. |