Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux with XDG Desktop Portal: set_directory() only works with save dialog #213

Open
sourcebox opened this issue Aug 28, 2024 · 1 comment

Comments

@sourcebox
Copy link
Contributor

set_directory() only works with save dialogs, not with open dialog. I'm not sure if this is really a bug in rfd but in XDG portal itself. According the docs setting the starting path should be supported in general, the rustdoc comments still show it as "GTK-only" though.

@bilelmoussaoui
Copy link
Contributor

That is not true https://bilelmoussaoui.github.io/ashpd/ashpd/desktop/file_chooser/struct.OpenFileRequest.html#method.current_folder, the option is either not used by rfd or you have an old portal installed that doesn't support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants