Bug 481076

Summary: Prompt the user to add Flathub when installing Flatpak backend
Product: [Applications] Discover Reporter: tombrown9501
Component: Flatpak BackendAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: aleixpol, jgrulich, john.liptrot, nate, travier
Priority: NOR    
Version First Reported In: 5.27.10   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tombrown9501 2024-02-08 18:46:25 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Either automatically or by prompt the flathub source should be added to the source repositories for user convenience when installing the flathub backend through discover.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-17-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Inspiron 7573

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-02-15 02:57:31 UTC
Yeah, probably a good idea.
Comment 2 tombrown9501 2024-02-16 01:40:23 UTC
I'll add that after installing the flatpak backend, the area to add the flathub repository isn't even visible until discover is restarted. This is confusing to someone new to flatpak who may not know that is important to the functionality.
Comment 3 john.liptrot 2025-10-10 19:05:48 UTC
> Either automatically or by prompt the flathub source should be added to the
> source repositories for user convenience when installing the flathub backend
> through discover.

Hi Tom,

Could you please clarify on what you mean by this?

Adding Flathub via Discover installs the Flathub repository to your system. Are you seeing different behaviour?

Thanks.
Comment 4 Nate Graham 2025-10-13 18:10:23 UTC
Discover has different *backends*. On some distros, they aren't all pre-installed. If you install Discover's Flatpak backend, it doesn't come with any repos pre-installed; you need to manually add one. Like Flathub. So the idea here is that installing the Faltpak backend should also pre-configure it with Flathub. Which I think is reasonable.