- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P2: Important
 - 
    5.15.2
 - 
    None
 
- 
        
 - 
        12
 
Problem:
If you open a non-modal dialog box with the WA_DeleteOnClose attribute, the touch screen no longer receives touch events as soon as the dialog box is destroyed.
Test case:
TEST1:
- Unzip testdialog.zip, and launch the application.
 
- Once launched, ONLY use the touch screen.
 - Press the "PushButton" button -> a popup appears.
 - Click elsewhere in the MainWindow to dismiss the popup:
- The popup disappears as expected.
- However, by pressing the "PushButton" button again, the popup no longer appears. 
TEST2:
Comment line 22 in MainWindow.cpp (the one that sets the WA_DeleteOnClose attribute).
Relaunch the app. Everything then works normally and the popup appears after each press of the "PushButton" button (on the other hand, this produces a memory leak).
- duplicates
 - 
                    
QTBUG-94557 Menu causes touch failure
-         
 - Closed
 
 -         
 - 
                    
QTBUG-98519 [REG: 5.15.0->5.15.7] xcb: Synthesized mouse from touch gets stuck if receiving widget gets destroyed
-         
 - Closed
 
 -         
 - 
                    
QTBUG-102751 Can not receive touch event after the widget that WindowFlags is Qt::Popup is closed on ubuntu20.04
-         
 - Closed
 
 -         
 - 
                    
QTBUG-103706 Synthesized touch event not recognized with Widgets
-         
 - Closed
 
 -