Start file dialogs on the desktop - #938
Open
kisaraki wants to merge 1 commit into
Open
Conversation
stdmnpkg
suggested changes
Aug 25, 2026
stdmnpkg
left a comment
Contributor
There was a problem hiding this comment.
current behavior is consistent with DOS edit, vi, and GNU ed, and desktop is not always exist, no need to change.
Leonard Hecker (lhecker)
requested changes
Aug 25, 2026
Leonard Hecker (lhecker)
left a comment
Member
There was a problem hiding this comment.
Is there a reason you picked the Desktop instead of e.g. the Documents directory?
On Windows at least, the default directory for the file picker is the last directory you navigated to for the given primary file type. E.g. if you last opened a .txt file in the Downloads folder, another application will start in the Downloads folder as well. That system is kind of clever.
For simplicity, I think the current CWD system is preferable.
| debug-latency = [] | ||
|
|
||
| [dependencies] | ||
| dirs = "6.0.0" |
There was a problem hiding this comment.
This project avoids dependencies intentionally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dirsprovider instead of platform-specific APIsValidation
cargo test --all-features --all-targetson Windows and WSL/Ubuntucargo clippy --workspace --all-features --all-targets -- --no-deps --deny warningson Windows and WSL/UbuntuContribution ownership
This contribution is entirely my own work. It is not created on behalf of, or connected with, any organization or company. I agree to contribute it under the repository's MIT License and to the repository's applicable contribution terms.