Bug 513325 - (regression) dolphin won't cache thumbnails for files from LUKS container different from home folder
Summary: (regression) dolphin won't cache thumbnails for files from LUKS container dif...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.08.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-13 23:07 UTC by andy
Modified: 2025-12-13 23:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2025-12-13 23:07:22 UTC
SUMMARY
My disk setup: a single NVME drive with several logical volumes created by LVM, each with their own LUKS container. They can be unlocked as needed, similar use case to vaults or gocrypfts etc.

~/home is on a specific volume (e.g. xfs partition on an unlocked /dev/mapper/luks-vg-home)
~/home/thing may be a different volume (e.g. xfs partition on /dev/mapper/luks-vg-thing)

The only thumbnails that end up in ~/.cache/thumbnails are for files on the same filesystem as ~/home. In the above example, any thumbnails in ~/home/thing are regenerated every time.

I believe this changed in the last couple months, and before that it actually did cache everything as expected.

STEPS TO REPRODUCE
1. Mount $HOME from xfs filesystem on LUKS container A
2. Mount some other $HOME/thing from xfs filesystem on LUKS container B
3. Browse files with Dolphin

OBSERVED RESULT
- Dolphin caches thumbnails for files from any encrypted filesystem

EXPECTED RESULT
- Dolphin caches thumbnails only for files in the encrypted filesystem that $HOME is on

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: arch linux
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Comment 1 andy 2025-12-13 23:08:48 UTC
> ~/home is on a specific volume (e.g. xfs partition on an unlocked /dev/mapper/luks-vg-home)
> ~/home/thing may be a different volume (e.g. xfs partition on /dev/mapper/luks-vg-thing)

sorry I mean $HOME and $HOME/thing, not ~/home and ~/home/thing