WPF Application Z-Order Bug when closing "nested" dialogs

Leandro Ribeiro 1 Reputation point
2021-02-15T18:07:55.963+00:00

In 2010 someone reported the following issue:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/b84d4dfa-63fd-4040-a565-3c95a4191094/wpf-application-zorder-bug-when-closing-nested-dialogs?forum=wpf

In Summary:

MainAppWindow opens WindowA. WindowA is owned by MainAppWindow.

WindowA opens WindowB. WindowB is owned by WindowA.

Close WindowB - everything is as expected: WindowA is on top of MainAppWindow and app is in foreground of desktop.

Close WindowA - WindowA closes but MainAppWindow is dropped to background of desktop (i.e. behind any other open applications).

Recently I've noticed that the issue persists in .Net 4.8. Does anyone knows if this is to be fixed or where can I report it as a bug?

Thank you.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
{count} votes