Bug 487286

Summary: Flatpak KCM does not detect flatpaks installed in another installation
Product: [Applications] systemsettings Reporter: Thiago Sueto <herzenschein>
Component: kcm_flatpakAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, joshiesuhaas0, kde, nate, sitter
Priority: NOR    
Version First Reported In: git-stable-Plasma/5.27   
Target Milestone: ---   
Platform: SteamOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thiago Sueto 2024-05-20 16:00:35 UTC
SUMMARY
I'm on SteamOS (Steam Deck running Plasma 5).

To save space on my Steam Deck, I have an extra installation for flatpaks that is stored on my SD card, as per flatpak-installation: https://man.archlinux.org/man/extra/flatpak/flatpak-installation.5.en

Once I moved all my flatpaks to my SD card, the flatpak KCM stopped being able to detect my flatpaks.

STEPS TO REPRODUCE
1. Create a file /etc/flatpak/installations.d/extra.conf
2. Add a conf file pointing to some non-standard installation
3. sudo flatpak install --installation=<installname> <packagename>
4. Check the flatpak KCM app list

EXAMPLE CONFIG
[Installation "sdcard"]
Path=/run/media/mmcblk0p1/flatpak/
DisplayName=Extra Installation
StorageType=sdcard

OBSERVED RESULT
The flatpak installed to the custom installation path does not show up in the KCM.

EXPECTED RESULT
The flatpak installed to the custom installation path should show up in the KCM.

SOFTWARE/OS VERSIONS
Operating System: SteamOS 3.5.19
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9
Kernel Version: 6.1.52-valve16-1-neptune-61 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Custom APU 0405
Memory: 14.5 GiB of RAM
Graphics Processor: AMD Custom GPU 0405
Manufacturer: Valve
Product Name: Jupiter
System Version: 1
Comment 1 ratijas 2024-05-29 13:05:50 UTC
Is this basically a duplicate of https://bugs.kde.org/show_bug.cgi?id=485189 ? Or maybe that one is for supporting GUI to manually add them, and this one is "simply" to work with what's already registered with Flatpak…
Comment 2 Thiago Sueto 2024-06-02 03:01:34 UTC
(In reply to ratijas from comment #1)
> Is this basically a duplicate of https://bugs.kde.org/show_bug.cgi?id=485189
> ? Or maybe that one is for supporting GUI to manually add them, and this one
> is "simply" to work with what's already registered with Flatpak…

Yeah, the other bug report is for the lack of a GUI to set a custom installation. This one is about the flatpak KCM being unable to detect any flatpaks from a custom installation that was already set.
Comment 3 Harald Sitter 2025-03-24 12:44:55 UTC

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