File Dialog always shows "Recent Files" regardless of set directory
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 830
- Forks
- 108
- Avg merge
- 6d 33m
- Merged PRs (30d)
- 2
Description
On Debian 12, Gnome.
Regardless of how rfd is invoked, the file dialog that appears always shows "Recent Files". There appears to be no way to change the file dialog so that it shows a specific directory by default.
For example, from documentation:
use rfd::FileDialog;
let files = FileDialog::new()
.set_directory("/")
.pick_file();
shows Recent Files.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Debian 12 with GNOME using the documented FileDialog::new().set_directory("/").pick_file() entry point. Trace how set_directory is handled for the native file dialog; done means the dialog opens at the requested directory instead of Recent Files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100