dotnet / dotnet/dotnet-api-docs

Add note to avoid using this dialog

Offen
#7,900 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area-WinForms Pri3 untriaged
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

Beitragsleitfaden öffnen

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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.