Summary: | Add-ons button is missing from Flatpak apps' pages in Plasma 6 | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Ali <radicalite> |
Component: | Flatpak Backend | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aleixpol, jgrulich, nate, sitter, travier |
Priority: | NOR | Keywords: | regression |
Version First Reported In: | 6.1.4 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/discover/-/commit/e13b4a8536524a21a80913a2c5e1346999815755 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Messy image showing Steam, VLC and OBS' addon buttons and page, alongside comparison of the OBS page between 5.27 and Plasma 6.1 |
Description
Ali
2024-08-09 12:20:23 UTC
According to the code we never provided an addons list for flatpak. It may have come from packagekit/appstream but we definitely don't have code for flatpak addons. https://invent.kde.org/plasma/discover/-/blob/6254dd2e71c6ee847817ca05eedc5801f837548a/libdiscover/backends/FlatpakBackend/FlatpakResource.cpp#L136 Found where we extend the data set and I think I see the bug. Should be an easy fix. Git commit 9b6f98b63d4ef5a680cf9043c183b831ff4598f1 by Harald Sitter. Committed on 20/08/2024 at 02:15. Pushed by sitter into branch 'master'. flatpak: report extensions when there is NO lastError the condition here was the wrong way around it'd confirm an extends when there was an error. M +1 -1 libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp https://invent.kde.org/plasma/discover/-/commit/9b6f98b63d4ef5a680cf9043c183b831ff4598f1 Git commit e13b4a8536524a21a80913a2c5e1346999815755 by Harald Sitter. Committed on 20/08/2024 at 02:20. Pushed by sitter into branch 'Plasma/6.1'. flatpak: report extensions when there is NO lastError the condition here was the wrong way around it'd confirm an extends when there was an error. (cherry picked from commit 9b6f98b63d4ef5a680cf9043c183b831ff4598f1) Co-authored-by: Harald Sitter <sitter@kde.org> M +1 -1 libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp https://invent.kde.org/plasma/discover/-/commit/e13b4a8536524a21a80913a2c5e1346999815755 |