Bug 406744

Summary: Flatpak runtimes not updateable
Product: [Applications] Discover Reporter: Wyatt Childers <kdebugs.81do7>
Component: Flatpak BackendAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, bugseforuns, jgrulich, nate
Priority: NOR    
Version: 5.15.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=405967
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: discover showing no updates, but update notifier showing updates
flatpak showing updates via cli

Description Wyatt Childers 2019-04-21 21:08:04 UTC
SUMMARY
Flatpak runtimes count towards the number of things that need updated, but are not displayed in the UI, and will not enable the update button. This leads to the notifier displaying for instance "1 Update" but no updates displayed when you open Discover, and no way to make this notification go away, aside from going to the commandline and running `flatpak update`.

STEPS TO REPRODUCE
1. Have a flatpak runtime (e.g. GNOME Application Platform version 3.32) that needs updated


OBSERVED RESULT
The update notifier says that an update is available. However, when opening Discover and there is no way to apply this update.

EXPECTED RESULT
The update notifier says that an update is available; when opening Discover the out of date runtimes are listed and are updateable with the update button.

ADDITIONAL INFORMATION

Flatpak Version: 1.3.1
Comment 1 Nate Graham 2019-04-23 17:43:54 UTC
...Aaaaand over in Bug 405967 we have the opposite: the Devices notifier says everything's up to daye, but there's one Flatpak runtime update displayed in the main window.
Comment 2 Wyatt Childers 2019-04-23 19:47:57 UTC
(In reply to Nate Graham from comment #1)
> ...Aaaaand over in Bug 405967 we have the opposite: the Devices notifier
> says everything's up to daye, but there's one Flatpak runtime update
> displayed in the main window.

This occurred for me with GNOME Application Platform version {3.28,3.30,3.32}, and occurred for them with Freedesktop.org Application Platform 18.08. Perhaps there's some metadata esk difference between the two that's related?
Comment 3 Wyatt Childers 2019-04-24 16:05:51 UTC
Created attachment 119607 [details]
discover showing no updates, but update notifier showing updates
Comment 4 Wyatt Childers 2019-04-24 16:06:40 UTC
Created attachment 119608 [details]
flatpak showing updates via cli
Comment 5 Patrick Silva 2019-04-25 11:33:53 UTC
This bug seems related to bug 403478
Comment 6 Aleix Pol 2019-04-29 15:45:32 UTC

*** This bug has been marked as a duplicate of bug 403478 ***