Bug 444457

Summary: Can't open remote files via portal dialog; use kio-fuse for this
Product: [Plasma] xdg-desktop-portal-kde Reporter: Ilya Bizyaev <bizyaev>
Component: generalAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: normal CC: alexey-ilyin, bizyaev, jc46776353, johnmaverick74, nate, sitter
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.25
Sentry Crash Report:

Description Ilya Bizyaev 2021-10-26 22:12:54 UTC
SUMMARY
It would be convenient to be able to interact with remote locations in apps that load xdg-desktop-portal-kde. E.g.:

STEPS TO REPRODUCE
1. With a recent Google Chrome version[1], on any website that asks to upload a file, click the Upload button
2. From KDE's portal file dialog, choose a remote location (they are already listed there anyway)
3. Choose a file from that location

OBSERVED RESULT
The file dialog shows an error message, saying that only local files are supported

EXPECTED RESULT
The file dialog uses kio-fuse to convert that remote path into a local FUSE path and successfully passes that to the application.

ADDITIONAL INFORMATION
[1]: https://chromium-review.googlesource.com/c/chromium/src/+/2992214
Comment 1 Nate Graham 2021-11-08 17:13:27 UTC
+1, would be a good idea.
Comment 2 Nate Graham 2022-01-18 19:35:04 UTC
*** Bug 448486 has been marked as a duplicate of this bug. ***
Comment 3 James C 2022-02-01 15:22:31 UTC
Regular user here, but this would be helpful when working with a NAS on a regular basis. Its the only thing keeping me from switching to KDE as my primary DE.
Thanks for your consideration.
Comment 4 Harald Sitter 2022-03-21 15:02:23 UTC
It occurs to me that we need to ignore scheme support when fuse is present, then compare the selected schemes with the supported schemes, reroute urls as necessary to fuse and then technically things should be amazing.
Comment 5 Nate Graham 2022-04-02 13:26:26 UTC
Fixed by Harald Sitter with https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/bbfa7471d26c84157e6a022b83e202a8de04fee7 in Plasma 5.25!
Comment 6 John 2024-02-29 16:12:20 UTC
In Plasma 6 this is not working anymore.

I can't upload files from a remote/shared folder.

Can anyone else confirm it or is just me?
Comment 7 Nate Graham 2024-03-01 02:48:21 UTC
Probably because kio-fuse hasn't been ported to Qt6 yet. :(
Comment 8 John 2024-03-01 10:14:44 UTC
(In reply to Nate Graham from comment #7)
> Probably because kio-fuse hasn't been ported to Qt6 yet. :(

I guess you mean KF6 ( https://invent.kde.org/system/kio-fuse/-/merge_requests/76 ), right?