D28745: Skip caching thumbnails on encrypted filesystems

Méven Car noreply at phabricator.kde.org
Sat Jun 6 13:28:12 BST 2020


meven added a comment.


  In D28745#674294 <https://phabricator.kde.org/D28745#674294>, @marcingu wrote:
  
  > I tried to research Solid using api.kde.org (https://api.kde.org/frameworks/solid/html/classSolid_1_1Device.html, https://api.kde.org/frameworks/solid/html/classSolid_1_1StorageVolume.html) and looking for usages of both Solid::Device and Solid::StorageVolume in code but I'm not able to get StorageVolume instance for given file/directory.
  
  
  The good starting point would be the main Solid Tutorial : 
  https://techbase.kde.org/Development/Tutorials/Solid/Device_Discovery
  
  Solid does not provide straight `folder => StorageVolume` yet, but I think Solid could have such a utility feature added.
  Something like `Solid::Device::findByPath()`, it would need to canonically and recursively resolves the path parent to pay attention to symlinks.
  This would also help D26407 <https://phabricator.kde.org/D26407>
  
  KMountPoint::findByPath has it although it is not perfect. Compared to solid it does not refresh automatically and can't send signals and does not know about encryption.
  
  > Could someone help me with that?
  
  Sure. I have been dreaming about such feature for a while.

REPOSITORY
  R320 KIO Extras

REVISION DETAIL
  https://phabricator.kde.org/D28745

To: marcingu, ivan, broulik, #dolphin, ngraham, meven, bruns
Cc: 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/20200606/e14fdaba/attachment.htm>


More information about the kfm-devel mailing list