dotnet / dotnet/dotnet-api-docs
Add note to avoid using this dialog
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
https://github.com/dotnet/dotnet-api-docs/blob/2c1f01baf150a26d011ca4ef92aaf4239266a7e9/xml/System.Windows.Forms/FolderBrowserDialog.xml#L48
The [documentation of the native version](https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shbrowseforfoldera) recommends to use IFileDialog instead.
It should also be mentioned that [this dialog has a bug](https://stackoverflow.com/questions/6647761/problem-with-folderbrowserdialog) that still exists in Windows 11: When the user creates a new folder within the dialog and directly clicks the ok button, the folder is actually renamed but the dialog returns the name before the renaming.
Contributor guide
Assessment
This issue has not been assessed yet.