Details
Description
If child dialog is positioned on top of the main window and popup menu is opened by right clicking it, a second right click on the dialog surface will activate main window.
Use attached test case application to reproduce the issue.