D27643: FileChooser: download remote files to a cache location to open them through the portal

Fabian Vogt noreply at phabricator.kde.org
Wed Feb 26 08:49:20 GMT 2020


fvogt added a comment.


  In D27643#618125 <https://phabricator.kde.org/D27643#618125>, @jgrulich wrote:
  
  > I have never used fuse. I see you can use kio-fuse over dbus to mount a file, but you still have to unmount it, which will be a problem, because from the portal I don't know whether the app is still using it or not.
  
  
  `kio-fuse` was designed with this in mind and does not even support unmounting. When the file isn't being used anymore, it drops everything except what's needed to reopen the file when requested.
  
  > If anyone is familiar with fuse and have solution in mind, can you give me a hint?
  
  In this case it would be as easy as just calling `org.kde.KIOFuse org.kde.KIOFuse.VFS mountUrl` with the url and it gets a local path back.
  
  This should ideally be handled transparently by the KDE file dialog though.

REPOSITORY
  R838 Flatpak Support: KDE Portal for XDG Desktop

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

To: jgrulich, aacid, feverfew, fvogt
Cc: apol, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200226/e573824e/attachment.html>


More information about the Plasma-devel mailing list