PolyMeilex / PolyMeilex/rfd

File Dialog always shows "Recent Files" regardless of set directory

Open
#237 1 comment 0 reactions 0 assignees View on GitHub

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.

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.