Markus Røyset
Markus Røyset
This was previously requested and subsequently [rejected](https://github.com/rust-windowing/winit/issues/2142#issuecomment-1009331140) in #2142.
Of the desktop platforms, macOS seems to be the only one requiring hooking into winit in some manner. On Windows and Linux, the application is just started a second time...
On Windows, you can use the following program to create a file with a name which is invalid UTF-16 and test if `native-dialog-rs` and `wfd` are doing the right thing:...
Great stuff! While waiting for an answer from you, @ben-wallis, I had a look around on crates.io and it seems like `wfd` is the only "pure" Rust crate for file...
> let's keep the issue open. Alright. Changing `dir` to take a `Path` requires changes to `wfd`, but I'm not sure how many of `DialogParams`'s fields should take `Path` instead...
They way I understand it, the language server protocol would ideally have some built-in way of doing it, but this isn't the world we live in. There were [a few](https://github.com/microsoft/language-server-protocol/issues/636#issuecomment-953774890)...
I personally don't see much use for it, but you also don't have to ask before opening a PR. For more complex issues (and certain bugfixes), it may be preferable...
> Hey I would like this as a feature as well. If you're interested in getting the ball rolling on this, then I'd suggest that you look into what APIs...
The behaviour you're expecting seems to match what I'd expect myself. The only (desktop) platform I'd expect to be different in some way is Wayland.