Bug 510002

Summary: Major version updates transactions are considered as metadata refresh
Product: [Applications] Discover Reporter: Timothée Ravier <tim>
Component: rpm-ostree BackendAssignee: Timothée Ravier <travier>
Status: CONFIRMED ---    
Severity: normal CC: aleixpol, mariamfahmy66, miranda, travier
Priority: NOR    
Version First Reported In: 6.4.90   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Timothée Ravier 2025-09-27 16:35:00 UTC
SUMMARY

When doing major version updates with the rpm-ostree backend, the created transaction is not considered as an update but as metadata refresh by the Discover UI.

STEPS TO REPRODUCE
1.  Tweak /usr/share/metainfo/org.fedoraproject.fedora.metainfo.xml to set Fedora 43 as stable with a date of today (use rpm-ostree usroverlay or a sysext)
2. Refresh updates in Discover
3. Fedora 43 major version update offered

OBSERVED RESULT

Clicking on the Major update button does not start an update transaction but shows the "Refreshing" UI.

EXPECTED RESULT

Start a normal update transaction that can be cancelled.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora Kinoite 42
KDE Plasma Version: Discover from KDE master branch
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION

Might be linked to https://invent.kde.org/plasma/discover/-/merge_requests/1160
Comment 1 Timothée Ravier 2025-09-27 16:35:47 UTC
Wrong link at the bottom of the first comment: https://invent.kde.org/plasma/discover/-/merge_requests/1141#note_1311772