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 12:34:55 GMT 2020


fvogt added a comment.


  In D27643#618310 <https://phabricator.kde.org/D27643#618310>, @jgrulich wrote:
  
  > In D27643#618132 <https://phabricator.kde.org/D27643#618132>, @fvogt wrote:
  >
  > > 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.
  >
  >
  > I will make the portal not to freeze the app when there is no local file selected and we can revisit this later. As I can see, there is not even a stable relase of kio-fuse,
  
  
  Correct.
  
  > it also requires the user to start it manually and pick a folder so the experience is not that seamless and as Fabian said, it would be better to have this handled transparently by the file dialog.
  
  It's an autolaunching DBus service. Just make the call and it's up and running.

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/f52fd343/attachment.html>


More information about the Plasma-devel mailing list