Bug 418325

Summary: No diagnostic message if thumbnail files are not readable
Product: [Applications] kphotoalbum Reporter: Johannes Zarl-Zierl <johannes>
Component: generalAssignee: KPhotoAlbum Bugs <kpabugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Johannes Zarl-Zierl 2020-02-29 13:35:50 UTC
SUMMARY
Original report:
> Whenkphotoalbum can not open .thumbnails or .videoThumbnails because of
> permissions or becaus it's a symlink that points to nowhere good, then
> there is no error message. Only the thumb generation fails.
Comment 1 Johannes Zarl-Zierl 2022-09-09 23:19:51 UTC
Git commit 7503a340b3fc7da368178883f90349e3ed23b29a by Johannes Zarl-Zierl.
Committed on 09/09/2022 at 22:27.
Pushed by johanneszarl into branch 'master'.

Log error when thumbnail directory could not be created.

This is a band-aid approach to bug #418325, but not enough. IMO
thumbnails should still be cached (and shown) even when the on-disk
cache is unusable. Unfortunately, the code is currently not built around
the assumption that writing to disk may not be possible.

M  +5    -2    lib/kpathumbnails/ThumbnailCache.cpp

https://invent.kde.org/graphics/kphotoalbum/commit/7503a340b3fc7da368178883f90349e3ed23b29a