Bug 513325

Summary: (regression) dolphin won't cache thumbnails for files from LUKS container different from home folder
Product: [Applications] dolphin Reporter: andy <andy>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 25.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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