Bug 418325 - No diagnostic message if thumbnail files are not readable
Summary: No diagnostic message if thumbnail files are not readable
Status: REPORTED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-29 13:35 UTC by Johannes Zarl-Zierl
Modified: 2022-09-09 23:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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