| Summary: | When Filelight is installed as a Flatpak, only "Disk Usage Statistics - all devices" menu item works | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | Nate Graham <nate> |
| Component: | bars: status | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | akselmo, dolphin-bugs-null, jared, kde, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | 24.08.2 | ||
| Target Milestone: | --- | ||
| Platform: | Flatpak | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nate Graham
2024-10-29 22:39:05 UTC
flatpak run --command=filelight --file-forwarding org.kde.filelight @@u file:///home/nico/ @@ results in flatpak[288520]: Fehler: Invalid fd passed This is either a bug or fundamental limitation in flatpak. It doesn't accept directory urls as arguments >flatpak run --command=filelight --file-forwarding org.kde.filelight @@u file:///home/nico/ @@
Whilst true, why is it doing that?
flatpak run org.kde.filelight /home/david/projects
works absolutely fine.
It requires filelight to have the right permissions to read all user files, but we need that anyway?
I got `flatpak run --command=filelight --file-forwarding org.kde.filelight @@u file:///home/akseli/ @@` to work if i enabled the All user files read-only and All system files read-only in the flatpak settings for filelight > Whilst true, why is it doing that?
Because Flatpak turns "Exec=filelight %u" into that
> It requires filelight to have the right permissions to read all user files, but we need that anyway?
In theory we don't need that because whenever we launch Filelight with a dir as argument or open one from the file chooser we get access to it
Even if that was how flatpak worked when forwarding files, when the user presses "up" or "overview" they would get absolute garbage that doesn't match their system. FWIW, the flatpak manifest *in filelight* allows access everywhere The Flatpak manifest in flathub does not, it used to, but then was changed with: https://github.com/flathub/org.kde.filelight/pull/14 |