Bug 513494 - Issue with Thumbnails when Migrating Cache
Summary: Issue with Thumbnails when Migrating Cache
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.3
Platform: Debian stable Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-17 17:05 UTC by Harvey Morritt
Modified: 2025-12-17 17:06 UTC (History)
2 users (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 Harvey Morritt 2025-12-17 17:05:26 UTC
SUMMARY:

I migrated the location of my .cache, from /home/.cache to another drive, /dataHDD/.cache, afterwards Dolphin would generate file previews, but could not save them to disk -- no folder called /.cache/thumbnails existed -- resulting in Dolphin generating the preview each time a directory was visited.

Without changing any settings, manually creating /.cache/thumbnails allowed Dolphin to start saving previews to disk again in the new cache location, but this should happen automatically.



STEPS TO REPRODUCE:

1. Create a new cache location, mkdir -p /dataHDD/.cache
2. Migrate with environment variable, echo 'export XDG_CACHE_HOME="/dataHDD/.cache"' >> ~/.bashrc
3. Reboot system
4. Start Dolphin, which will now generate previews each and every time you open a directory
5. Close Dolphin, create a thumbnails directory, mkdir /dataHDD/.cache/thumbnails
6. Start Dolphin, Dolphin will now save thumbnails to disk, and load them from disk



OBSERVED RESULT:

After migrating the system cache to a new location, Dolphin cannot save thumbnail files to disk without the user first manually creating the thumbnails directory in the new cache location.



EXPECTED RESULT:

After migrating the system cache to a new location, Dolphin should create the thumbnails folder if it doesn't already exist, and be able to use it without any user input.



SOFTWARE/OS VERSIONS:

KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.57+deb13-amd64 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8700K CPU @ 3.70GHz
Memory: 32 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080 Ti