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
For Gerrit Dashboard: QTBUG-102751 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
410369,2 | xcb: deliver touch (end) events that are missing the target window | dev | qt/qtbase | Status: NEW | 0 | 0 |
355362,17 | xcb: Delete touch points without target windows | dev | qt/qtbase | Status: MERGED | +2 | 0 |
412280,2 | xcb: Delete touch points without target windows | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
412282,2 | xcb: Delete touch points without target windows | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
412283,5 | xcb: Delete touch points without target windows | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |