NBug Full report window for WPF appears behind the application main window


This makes it hard and non-intuitive for the user to see what just happened. It would be nice if we could make the bug report window a child of the application main window.

file attachments

Closed Jun 6, 2013 at 3:27 PM by soygul
Not a bug.


soygul wrote May 8, 2013 at 8:02 PM

This should never happen. The bug report windows are always modal so theoretically speaking, modal windows can never be behind the main application window (unless I guess there is something very corrupted..)

PombeirP wrote May 13, 2013 at 7:01 AM

I believe modal windows can still be disconnected from the application main window (if they are created with null as parent, they will be owned by the desktop window). We need to make sure the correct parent is passed to ShowDialog().

wrote May 13, 2013 at 8:38 AM

soygul wrote May 13, 2013 at 8:38 AM

Might be true if the main window is in an exceptional state.

I've tested the case on the WPF test application that is already in the source code that is used to test NBug/WPF compatibility and couldn't reproduce the issue, the modal dialog is always on top (see the attached screenshot). I'll fiddle with it more and see what I can get.

PombeirP wrote Jun 6, 2013 at 1:47 PM

I just realized that this issue does not only happen with the NBug window. Since we don't have popup windows in our applications, I had not noticed the issue until now. This bug can be closed. Sorry to have bothered you about this...

wrote Jun 6, 2013 at 3:27 PM