fvogt added a comment.
In D27643#617558 <https://phabricator.kde.org/D27643#617558>, @ngraham wrote: > Shouldn't KIO take care of this stuff automatically? I wouldn't want to lose streaming support for Flatpak apps. It should, but there's no API for that yet. At some point the file dialog can just return a FUSE path if the selected file is a remote URL and only local paths are accepted. INLINE COMMENTS > filechooser.cpp:210 > + > + for (const QUrl &url : fileDialog->m_fileWidget->selectedUrls()) { > + // HACK we have to avoid returning until we copy the files What about local URLs such as `file:///`? Should probably try to use `KIO::mostLocalUrl` or something like that before. REPOSITORY R838 Flatpak Support: KDE Portal for XDG Desktop REVISION DETAIL https://phabricator.kde.org/D27643 To: jgrulich, aacid, feverfew, fvogt Cc: ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart