-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
BugProduct bug (most likely)Product bug (most likely)rank20Rank: Priority/rank on a scale of (1..100)Rank: Priority/rank on a scale of (1..100)regressionstatus: This issue is a regression from a previous build or releasestatus: This issue is a regression from a previous build or release
Milestone
Description
- .NET Core Version: 3.0.0-preview6-27804-01
- Windows version: Windows 10 Build 18917.rs_prerelease.190607-1942 and Windows 7 sp1
- Does the bug reproduce also in WPF for .NET Framework 4.8?: No
Problem description:
When you use an Open File Dialog and provide an invalid file OR if you use a Save File Dialog and try to overwrite an existing file the messagebox renders the \r\n as text instead of a line break.
This happens if you use the Microsoft.Win32 base implementations or the System.Windows.Forms varients
Minimal repro:
var saveDialog = new Microsoft.Win32.SaveFileDialog
{
OverwritePrompt = true
};
var success = saveDialog.ShowDialog();
var saveDialogForms = new System.Windows.Forms.SaveFileDialog
{
OverwritePrompt = true
};
var successForms = saveDialog.ShowDialog();
lindexi
Metadata
Metadata
Assignees
Labels
BugProduct bug (most likely)Product bug (most likely)rank20Rank: Priority/rank on a scale of (1..100)Rank: Priority/rank on a scale of (1..100)regressionstatus: This issue is a regression from a previous build or releasestatus: This issue is a regression from a previous build or release