Bug 500475 - missing certain folders in the /usr/share/ directory
Summary: missing certain folders in the /usr/share/ directory
Status: RESOLVED LATER
Alias: None
Product: dolphin
Classification: Applications
Component: panels: folders (other bugs)
Version First Reported In: 24.12.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-20 16:52 UTC by roraharvest
Modified: 2025-02-22 14:43 UTC (History)
2 users (show)

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


Attachments
photo of the dolphin flatpak (lower right) searching for the wallpapers folder next to the rpm (upper right) and the terminal searching for the same folder (386.51 KB, image/png)
2025-02-20 16:52 UTC, roraharvest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roraharvest 2025-02-20 16:52:20 UTC
Created attachment 178650 [details]
photo of the dolphin flatpak (lower right) searching for the wallpapers folder next to the rpm (upper right) and the terminal searching for the same folder

SUMMARY
when attempting to accesses folders in usr/share/ some folders do not appear such as: wallpapers, vulkansc, xwayland and a few more. the folders are accessible through the terminal with the cd command and using the non flatpak version (fedora rpm) as well as the rpm of gnome files do not present the bug, so the files still exist on the system but do not show up. in addition, if you try to right click on a file and choose "open containing folder" such as through the setting wallpaper section it silently fails if you only got the flatpak installed   

STEPS TO REPRODUCE
1. open dolphin
2. navigate to /usr/share
3. attempt to search for one of the aforementioned folders 

OBSERVED RESULT
no folder detected even tho the folder can be accessed through the terminal.

EXPECTED RESULT
the folder shows up.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.15-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION
Processors: 16 × 13th Gen Intel® Core™ i7-13620H
Memory: 15.4 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2
Manufacturer: LENOVO
Product Name: 82XW
System Version: LOQ 16IRH8
Comment 1 Nate Graham 2025-02-21 21:33:20 UTC
This is unfortunately a limitation of Dolphin when packaged using a Flatpak. It's currently unsolvable without one of the following changes:
1. Making Flatpak'ed Dolphin communicate with a host-side daemon that has to be installed.
2. Changing Flatpak itself to allow full host access for apps like Dolphin that need it. This is implemented with https://github.com/flatpak/flatpak/pull/6125, assuming that ever gets merged.

The problem with #1 is that is removes the "run anywhere" advantage of Flatpak, since the system would need to have the host-side daemon running and that would have to be provided by system packaging.

The problem with #2 is that it's politically challenging and may not end up happening.

Either way, there's nothing feasible we can do right now, sorry. We'll need to see if #2 is accepted; if not, we'll see if we can stomach #1 or just give up on the idea of file managers in Flatpak.
Comment 2 roraharvest 2025-02-22 14:43:17 UTC
(In reply to Nate Graham from comment #1)
> This is unfortunately a limitation of Dolphin when packaged using a Flatpak.

I see. Thank you for the explanation and I apologise for the unnecessary bug report. It's a bit of a shame bc I much rather use an official flatpak when Available but it can't be helped this time (tho it's weird bc I use konsole as flatpak too and as I've mentioned you can cd into the folders. If I may offer it might be worth it to add this info to the flathub description so users won't post about it. Tho I get it if you'd rather not to.