Open Eugen00-00 opened 1 year ago
Hello Eugen00-00, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
Describe the bug
I see DesktopWindowXamlSource window in taskbar in Windows10 after a dialog with WindowsXamlHostElement and CaptureElement as a WindowsXamlHostElement child is closed. There is a test WPF application. Main window contains only a buttton that opens another dialog. This dialog has olny WindowsXamlHostElement
or with InitialTypeName (it makes no difference)
In the dialog constructor:
XamlHost1.Child = new CaptureElement();
Optionally it can be done (it makes no difference)
On button press the dialog appears, after dailog is closed one can see a DesktopWindowXamlSource window in taskbar. It is reproducible on Windows10 22H2, but not reproducible on Windows11.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
I don't want to see DesktopWindowXamlSource window in taskber after dialog is closed.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
Add any other context about the problem here.