Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set PrintQueue.CreateXpsDocumentWriter owner #6768

Open
ryanryanorient opened this issue Jul 8, 2022 · 2 comments
Open

set PrintQueue.CreateXpsDocumentWriter owner #6768

ryanryanorient opened this issue Jul 8, 2022 · 2 comments
Milestone

Comments

@ryanryanorient
Copy link

ryanryanorient commented Jul 8, 2022

  • .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:

@gurpreet-wpf gurpreet-wpf added needs more information Not enough information has been provided. Please share more detail as requested and removed Untriaged Requires WPF team triage labels Jul 8, 2022
@gurpreet-wpf
Copy link
Contributor

@ryanryanorient Could you please attach the sample repro?

@ryanryanorient
Copy link
Author

ryanryanorient commented Jul 26, 2022

@ryanryanorient Could you please attach the sample repro?
PrintQueueDemo.zip
fyi
Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
@gurpreet-wpf

@singhashish-wpf singhashish-wpf removed the needs more information Not enough information has been provided. Please share more detail as requested label Apr 24, 2023
@karelz karelz added this to the Future milestone Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants