dotnet / dotnet/wpf

set PrintQueue.CreateXpsDocumentWriter owner

Open
#6,768 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

* .NET Core Version:5.0
* Windows version: windows 10
* Does the bug reproduce also in WPF for .NET Framework 4.8?: No

**Problem description:**
I showDialog in window 1 another window 2,
Call PrintQueue.CreateXpsDocumentWriter in new window 2
The printer selection dialog 3 popped up,
but it can not set the Owner option,
which caused me to accidentally click on the new window 2,
and the printer selection dialog 3 was hidden to the new window 2.
After that,
it is expected that the new window 2 cannot be clicked.
XPSDocumentViewer has the same problem,
When the print button is clicked, the dialog box may be set to the back
**Actual behavior:**

**Expected behavior:**

**Minimal repro:**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.