Bug 458643 - Make KUrlMimeData::exportUrlsToPortal work without kio-fuse
Summary: Make KUrlMimeData::exportUrlsToPortal work without kio-fuse
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kcoreaddons
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-02 16:56 UTC by Ilya Fedin
Modified: 2023-04-14 23:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.106
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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