dotnet / dotnet/dotnet-api-docs
Add note to avoid using this dialog
- Vorherrschende Sprache
- C#
- Sterne
- 949
- Forks
- 1.7k
- Ø Merge
- 2 T. 19 Std.
- Gemergte PRs (30 T.)
- 52
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Open xml/System.Windows.Forms/FolderBrowserDialog.xml at the referenced line and review the linked native API guidance and bug report. Update the API documentation to cover the recommendation to use IFileDialog and the folder-renaming issue, then verify that the resulting note accurately reflects the cited behavior.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 50/100