D27643: FileChooser: download remote files to a cache location to open them through the portal
Fabian Vogt
noreply at phabricator.kde.org
Tue Feb 25 15:01:11 GMT 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200225/2dae2eaf/attachment-0001.html>
More information about the Plasma-devel
mailing list