Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.0
-
-
59b0b5909 (dev), 9f85654f7 (6.7), 0c5a04ee7 (6.6), 2aead3316 (tqtc/lts-6.5)
Description
Reproducer attached. Touch screen is required. Only tested on external screen connected via USB cable.
Steps to reproduce:
1. Run the sample on Windows + 6.5.0 (6.4.x reproduces too). By default, MyQuickWidget is in use. Attribute 'Qt::WA_AcceptTouchEvents' is also set to true.
2. Click the window, and it can be seen that TapHandler outputs 'Tap'. But touching does not make Taphandler output anything.
3. On the other hand, MyQuickView works perfectly. Uncomment '#define QUICKVIEW' and switch to MyQuickView, do the same clicking and touching test, and it can be observed that both clicking and touching make Taphandler outputs 'Tap'.
I am using 'MyQuickXXXX' subclassed from 'QQuickXXXX' just to confirm if events are correctly delivered by overriding only 'event' method. And the outputs prove that clicking/touching does reach to MyQuickWidget. The same test can be done by using QQuickXXXX, and the result is the same - TapHandler does not output anything for touching.
Attachments
Issue Links
- relates to
-
QTBUG-101736 QQuickWidget: button in a popup doesn't receive touch end event
- Closed