native-dialog-rs / native-dialog-rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unexpected `file://` prepended to `PathBuf` returned from `show_open_single_dir()`

theRookieCoder opened this issue · comments

The function FileDialog.show_open_single_dir() prepends "file://" to the PathBuf returned. This doesn't make any sense because a directory should be returned

Platform: macOS

Which OS do you use?

macOS. Apologies for not providing it earlier

I've tested just now, and find that all show_* methods on FileDialog return paths starts with file://. This behavior does not appear when I wrote this crate. Seems that it's macOS update that causes this issue.

Should be fixed in v0.5.8