- 
    
Bug
 - 
    Resolution: Cannot Reproduce
 - 
    
P2: Important
 - 
    None
 - 
    5.2.1
 - 
    None
 - 
    mac os
 
I create a main window with two elements on it, one is a QPushButton with popup menu, the other is a widget for loading qml page.
now I click on the pushbutton,so the popup menu shows,
but then I click on the qml region the popup menu don't disappear as expected,
I don't know if this is a qt bug or I don't use it right
there is a simple demo to demonstrate it;
please help!
- depends on
 - 
                    
QTBUG-68080 we need to move popup event forwarding logic from QWidgetWindow::handleMouseEvent() to QGuiApplication
-         
     - Closed
 
 -         
 
- is duplicated by
 - 
                    
QTBUG-69777 QML Window with Qt::Popup flag not behaving correctly (mouse not grabbed)
-         
 - Reported
 
 -