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

FileDialog::set_directory needs canonical path on Ubuntu #235

Open
Ultraxime opened this issue Jan 17, 2025 · 0 comments
Open

FileDialog::set_directory needs canonical path on Ubuntu #235

Ultraxime opened this issue Jan 17, 2025 · 0 comments

Comments

@Ultraxime
Copy link

Hello,

I stumbled upon an issue while trying to set the directory of a FileDialog with Ubuntu.

When you set the directory using a relative path, even if path.exists() is true, the FileDialog ignores it, without a message.
But if I canonicalize it before, using std::path::Path::canonicalize, it is working as expected.

I was wondering if it was an intended behavior but was not written in the documentation or an issue.

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

1 participant