Bug 458643

Summary: Make KUrlMimeData::exportUrlsToPortal work without kio-fuse
Product: [Frameworks and Libraries] frameworks-kcoreaddons Reporter: Ilya Fedin <fedin-ilja2010>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED FIXED    
Severity: wishlist CC: fabian, kdelibs-bugs-null, nate, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.106
Sentry Crash Report:

Description Ilya Fedin 2022-09-02 16:56:30 UTC
SUMMARY
tdesktop uses it for FileTransfer support. Would be nice for this to work outside of KDE.

STEPS TO REPRODUCE
1. Drag'n'Drop a file from tdesktop to a sandboxed application with FileTransfer portal support and without host filesystem permission on non-KDE environment

OBSERVED RESULT
Application can't get the file

EXPECTED RESULT
File is transfered
Comment 1 Bug Janitor Service 2023-04-08 07:57:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/332
Comment 2 Ilya Fedin 2023-04-09 16:39:01 UTC
Git commit 2ed571c0cc4ddf8dc2e6d41e5ea47c912b039215 by Ilya Fedin.
Committed on 08/04/2023 at 22:08.
Pushed by sitter into branch 'master'.

exportUrlsToPortal: let it work in a non-KDE session

M  +7    -1    src/lib/io/kurlmimedata.cpp

https://invent.kde.org/frameworks/kcoreaddons/commit/2ed571c0cc4ddf8dc2e6d41e5ea47c912b039215
Comment 3 Harald Sitter 2023-04-09 16:48:55 UTC
Git commit b797315320b2ce8d2babb810f545c2ec964bfb06 by Harald Sitter, on behalf of Ilya Fedin.
Committed on 09/04/2023 at 16:39.
Pushed by sitter into branch 'kf5'.

exportUrlsToPortal: let it work in a non-KDE session
(cherry picked from commit 2ed571c0cc4ddf8dc2e6d41e5ea47c912b039215)

M  +7    -1    src/lib/io/kurlmimedata.cpp

https://invent.kde.org/frameworks/kcoreaddons/commit/b797315320b2ce8d2babb810f545c2ec964bfb06