D28745: Skip caching thumbnails on encrypted filesystems
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Fri Sep 4 16:32:14 BST 2020
bruns added a comment.
In D28745#676313 <https://phabricator.kde.org/D28745#676313>, @marcingu wrote:
> Ping!
> I'm remanding about question early, because I could do much more work if I get to do it on weekend.
>
> Question:
> This code won't save thumbnail for file on any device that isn't `StorageVolume` or is `StorageVolume` with `usage` `UsageType::Encrypded`.
The whole block can never return true, so it should just be removed, along with all its dependencies.
> Is this fine?
> Should we take something else into consideration?
> Do we want that feature tested to avoid regression in the future?
This code duplicates functionality already present in the thumbnailer code in KIO core. It can be replaced by a trivial "CacheThumbnail" flag provided by the caller.
REPOSITORY
R320 KIO Extras
REVISION DETAIL
https://phabricator.kde.org/D28745
To: marcingu, ivan, broulik, #dolphin, ngraham, meven, bruns, dfaure
Cc: dfaure, thiago, bruns, meven, ngraham, kde-frameworks-devel, kfm-devel, waitquietly, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, LeGast00n, cblack, fbampaloukas, alexde, Codezela, feverfew, michaelh, spoorun, navarromorales, firef, andrebarros, emmanuelp, rdieter, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200904/a8b24177/attachment.htm>
More information about the kfm-devel
mailing list