Bug 496327

Summary: Conflicting version information between different Flatpak sources
Product: [Applications] Discover Reporter: Nicolas Fella <nicolas.fella>
Component: Flatpak BackendAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: 4wy78uwh, aleixpol, jgrulich, nate, travier
Priority: NOR Keywords: regression, usability
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.4.4
Sentry Crash Report:

Description Nicolas Fella 2024-11-16 00:46:16 UTC
STEPS TO REPRODUCE
1. On Fedora open Discover 
2. Navigate to Neochat
3. In the source dropdown, select "Fedora Flatpaks"

OBSERVED RESULT
A message "This development version of NeoChat is outdated. Using the stable version is highly recommended." with a button "View Stable Version on Flathub". 

Clicking the button navigates to the Flathub version, which says "A more stable version of NeoChat is available." with a button "View Stable Version on Fedora Flatpaks".

Both versions are equally stable since they ship the same version (24.08.3)

EXPECTED RESULT
No claims that one version is more stable than the other when it's the exact same version



SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 6.8

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-05-06 15:49:06 UTC
*** Bug 503841 has been marked as a duplicate of this bug. ***
Comment 2 Bug Janitor Service 2025-07-26 20:52:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1129
Comment 3 Aleix Pol 2025-07-30 22:51:24 UTC
Git commit e8ca73e52998639c5d6079d766b31d3186ca6f86 by Aleix Pol Gonzalez, on behalf of Nicolas Fella.
Committed on 30/07/2025 at 22:51.
Pushed by apol into branch 'master'.

Only show message for (outdated) beta Flatpaks for actual beta apps

Otherwise when there is more than one stable source (e.g. Flathub and Fedora Flatpaks) they would claim to be more stable or outdated than the other

M  +3    -1    libdiscover/backends/FlatpakBackend/qml/FlatpakOldBeta.qml

https://invent.kde.org/plasma/discover/-/commit/e8ca73e52998639c5d6079d766b31d3186ca6f86
Comment 4 Nate Graham 2025-07-31 01:52:35 UTC
Git commit b3af4ae85b019a8c7662e5ef4338e20d750a5fac by Nate Graham.
Committed on 31/07/2025 at 01:52.
Pushed by ngraham into branch 'Plasma/6.4'.

Only show message for (outdated) beta Flatpaks for actual beta apps

Otherwise when there is more than one stable source (e.g. Flathub and Fedora Flatpaks) they would claim to be more stable or outdated than the other


(cherry picked from commit e8ca73e52998639c5d6079d766b31d3186ca6f86)

e5f1a89b Only show message for (outdated) beta Flatpaks for actual beta apps
49001cbb Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Nicolas Fella <nicolas.fella@gmx.de>

M  +3    -1    libdiscover/backends/FlatpakBackend/qml/FlatpakOldBeta.qml

https://invent.kde.org/plasma/discover/-/commit/b3af4ae85b019a8c7662e5ef4338e20d750a5fac