Closed theRookieCoder closed 4 months ago
Unfortunately a bug (which I can't quite track down on KDE's implementation of portal) causes this functionality to not work on KDE, but it does work on GNOME. I haven't tested it on any other desktop environments yet.
The current_folder
option is implemented (https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/src/filechooser.cpp#L371-373 and https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/src/kirigami-filepicker/api/mobilefiledialog.cpp#L137-140), it's just the file manager I'm using (Dolphin) that doesn't implement it probably.
Thanks!
Thanks for following up on my old TODO!
Implements
FileDialog.starting_directory
for the xdg desktop portal backend usingashpd::OpenFileRequest::current_folder
Fixes #42