Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.1
-
ubuntu20.04
-
efc02f9cc3 (qt/qtbase/dev) efc02f9cc3 (qt/tqtc-qtbase/dev) b0de19a831 (qt/qtbase/6.3) b0de19a831 (qt/tqtc-qtbase/6.3) b0de19a831 (qt/qtbase/6.3.1) 7380edaeb8 (qt/tqtc-qtbase/5.15) 7380edaeb8 (qt/tqtc-qtbase/5.15-vxworks)
Description
There is a bug in QT6.2.1.
The pushButton Can not receive touch event after the widget that WindowFlags is Qt::Popup is closed on ubuntu20.04
I created a demo to reproduce it.
reproduce step:
1、Click the pushbutton with your finger to create a widget that WindowFlags is Qt::Popup.
2、Tap anywhere on the screen with your finger to close the widget.
3、Click the pushbutton with your finger again the pushbutton not responsed. But received these logs:
qt.pointer.dispatch: delivering touch update to same window QWidgetWindow(0x55c1cba8d280, name="QWidgetClassWindow") not QWidgetWindow(0x55c1cbc90130, name="MainWindowWindow")
qt.pointer.dispatch: delivering touch update to same window QWidgetWindow(0x55c1cba8d280, name="QWidgetClassWindow") not QWidgetWindow(0x55c1cbc90130, name="MainWindowWindow")
qt.pointer.dispatch: delivering touch update to same window QWidgetWindow(0x55c1cba8d280, name="QWidgetClassWindow") not QWidgetWindow(0x55c1cbc90130, name="MainWindowWindow")
This is the debug information when the finger leaves the screen in the second step.
Because the widget which WindowFlags is Qt::Popup is closed when the touch pressed, the func
platformWindowFromId(xcb_window_t id) will return NULL in here. It causes the func xi2ProcessTouch will not be called.
This is a log
Attachments
Issue Links
- is duplicated by
-
QTBUG-98519 [REG: 5.15.0->5.15.7] xcb: Synthesized mouse from touch gets stuck if receiving widget gets destroyed
- Closed
-
QTBUG-109451 Touchscreen freezes after closing a dialog box with the WA_DeleteOnClose attribute
- Closed
- relates to
-
QTBUG-94557 Menu causes touch failure
- Closed