| Summary: | Opening Discover with a .flatpakref file for an already-installed app causes an error | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | Felipe Kinoshita <kinofhek> |
| Component: | Flatpak Backend | Assignee: | Dan Leinir Turthra Jensen <leinir> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | aleixpol, jgrulich, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.21.4 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/discover/commit/d8d568b86f809a558dc5215a04e6781e797ba62e | Version Fixed/Implemented In: | 5.22 |
| Sentry Crash Report: | |||
|
Description
Felipe Kinoshita
2021-04-29 01:57:57 UTC
I can reproduce it for applications I already have installed. Can you confirm that you have the same problem? Yes, this only occurs with already installed flatpaks. Git commit d8d568b86f809a558dc5215a04e6781e797ba62e by Aleix Pol. Committed on 05/05/2021 at 02:24. Pushed by apol into branch 'master'. flatpak: Use async API to search for already installed flatpakrefs libflatpak will refuse to give us a ref if it's already installed, so we want to rely on the installed db. At startup it might not be loaded yet, so let's just call a function that will do the right thing at the right time. M +5 -3 libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp https://invent.kde.org/plasma/discover/commit/d8d568b86f809a558dc5215a04e6781e797ba62e |