-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
🪲 bugProduct bug (most likely)Product bug (most likely)💥 regression-previewRegression from a preview releaseRegression from a preview release
Description
-
.NET Core Version: .NET Core SDK 5.0.100-preview.1.20106.1 + the VSIX Inserted into Dev16 16.5.0 [29803.141.master]
-
Have you experienced this same bug with .NET Framework?: No
Problem description:
Invoke PrintDialog.ShowDialog() does not show Print dialog successfully.
More Info:
- This is a regression issue, it's not reproducing when targeting .NET Core 3.1.
- This issue also cannot reproduce with Framework project.
Actual behavior:
No expected Print dialog shown.
.NET Core 5.0 screenshot:

Expected behavior:
The Print dialog should be shown successfully.
.NET Core 3.1 screenshot:

Minimal repro:
- Create a Winforms Core application.
- Drag and drop a button to the form.
- Double click the button1 to generate the button1_click event, then add following code to it:
PrintDialog pdlg = new PrintDialog();
pdlg.ShowDialog(); - Build and run.
- Click the button1 to see whether the Print dialog is popping up.
PrintDialogIssue.zip
Metadata
Metadata
Assignees
Labels
🪲 bugProduct bug (most likely)Product bug (most likely)💥 regression-previewRegression from a preview releaseRegression from a preview release