Created attachment 145490 [details]
When a update for a flatpak app is available, the 'Update' page shows the version currently installed instead of the version of the update available. Please see the screenshots taken before and after updating my system.
STEPS TO REPRODUCE
1. have flatpaks installed on your system
2. open Discover when updates for flatpaks are available and click on 'Update' in the sidebar
3. obverse 'Update to version...' text of flatpaks updates
4. install all updates
5. open the description page of the just updated flatpaks
6. observe the version of the flatpak currently installed
versions observed in the steps 3 and 6 are different
versions observed in the 'Update' page and in the description pages should match
Operating System: Arch Linux
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2)
Graphics Platform: Wayland
Created attachment 145491 [details]
Can confirm. Seems related to 447937.
Created attachment 150785 [details]
screenshot of a Flatpak update
I experience this too (see attached screenshot). Fixing bug #447937 does not seem to have fixed this.
I would also provide the output of `flatpak --system update`, but there apparently the `flatpak` CLI does not show it (cf. https://github.com/flatpak/flatpak/issues/2901).
This might be related to bug #411186 or bug #434936, which also deal with wrong version information being displayed.
Git commit 84624c868c3090e70e15ca9d5686b9f04828d0be by Aleix Pol Gonzalez, on behalf of Aleix Pol i Gonzalez.
Committed on 25/08/2022 at 08:59.
Pushed by apol into branch 'master'.
flatpak: Get the version from the appstream file we are fed
flatpak_installed_ref_get_appdata_version will give us the installed
M +2 -3 libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp
M +5 -0 libdiscover/backends/FlatpakBackend/FlatpakResource.h