Bug 478362 - Flatpak konsole apps cannot manager user profiles.
Summary: Flatpak konsole apps cannot manager user profiles.
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Qt/KDE Flatpak Runtime
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-10 19:08 UTC by pmays
Modified: 2023-12-12 17:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pmays 2023-12-10 19:08:46 UTC
SUMMARY
For any flatpak app that uses konsole profiles, manual
user intervention is needed to access user profiles.

STEPS TO REPRODUCE
1. Create a konsole profile with a native KDE app.
   [Tested here with konsole]
   Observe new profile located at:
        ~./local/share/konsole
1. Create a konsole profile with a flatpak KDE app.
   [Tested here with org.kde.yakuake]
   Observe new profile located at:
        ~/.var/app/org.kde.yakuake/data/konsole
2. Re-run the flatpak app with wanted access:
   $ flatpak run --filesystem=xdg-data/konsole:create
3. User profile(s) should now be manageable from Yakuake.

OBSERVED RESULT
Flatpaks cannot access konsole user konsole profiles.

EXPECTED RESULT
Flatpak can read, write, and create konsole profiles.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 39.20231205.0 (Kinoite)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
N/A
Comment 1 pmays 2023-12-10 19:13:44 UTC
Typo:
flatpak run --filesystem=xdg-data/konsole:create
flatpak run org.kde.yakuake --filesystem=xdg-data/konsole:create
Comment 2 pmays 2023-12-10 19:16:13 UTC
$ flatpak run --filesystem=xdg-data/konsole:create org.kde.yakuake(In reply to Preston Mays from comment #1)
> Typo:
> flatpak run --filesystem=xdg-data/konsole:create
> flatpak run org.kde.yakuake --filesystem=xdg-data/konsole:create

$ flatpak run --filesystem=xdg-data/konsole:create org.kde.yakuake
Comment 4 pmays 2023-12-12 16:33:34 UTC
(In reply to Aleix Pol from comment #3)
> Can you create a pull request to the packaging instead?
> 
> ...github.com...

No!

Microsoft Windows Team pushed my grandmother down a flight of stairs back in 2020,
and I now refuse to use any MS adjacent online services in solidarity.

Also, for this to work, _every_ app that uses konsole needs a Flathub manifest update.

I'm not signing up for that — only pointing out what's missing.
Comment 5 Nate Graham 2023-12-12 17:33:27 UTC
I'm afraid this isn't actionable on KDE's side, as the packaging for KDE's Flathub apps doesn't actually live on KDE's infrastructure yet (long story). So if you'd like to help out here, you'll have to create a Github profile and either submit a pull request, or at least report it as an issue.