Bug 445745 - Discover crashes when a flatpak update is available for a `user` installation
Summary: Discover crashes when a flatpak update is available for a `user` installation
Status: RESOLVED DUPLICATE of bug 443745
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (show other bugs)
Version: 5.23.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
Depends on:
Reported: 2021-11-19 13:36 UTC by Alessandro Astone
Modified: 2021-11-25 17:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Astone 2021-11-19 13:36:20 UTC
When an update is available for a --user installed flatpak, `FlatpakBackend::findSource` fails because `m_flatpakSources` only includes `system` installations.

1. flatpak install <something> --user
2. wait for an update?
3. launch discover

Linux/KDE Plasma: Fedora 35 KDE
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88
Qt Version: 5.12.2
Comment 1 Nate Graham 2021-11-23 22:36:03 UTC
Can you attach the full backtrace, for completeness' sake? Or submit a merge request to fix it, since it seems like you've already found the source of the issue?
Comment 2 Bug Janitor Service 2021-11-25 16:59:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/211
Comment 3 Aleix Pol 2021-11-25 17:37:38 UTC

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