Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0
-
-
462410a08b8bbfb068b6e06573adb0701c527d06
Description
Using a protocl b touchscreen as multitouch some press may not receive the touch release event.
For example typing in Qt Virtual Keyboard For example, press g and h at the same time, then press d, a, e, t, d and put a console.log in the onTextChanged() method of a TextField control and got the following. Note how the h is before every character; hd, ha, he, ht, hd.
Jul 15 02:35:21 imx6 [3370]: qml: Text has changed: G
Jul 15 02:35:22 imx6 [3370]: qml: Text has changed: Gh
Jul 15 02:35:24 imx6 [3370]: qml: Text has changed: Ghh
Jul 15 02:35:24 imx6 [3370]: qml: Text has changed: Ghhd
Jul 15 02:35:28 imx6 [3370]: qml: Text has changed: Ghhdh
Jul 15 02:35:28 imx6 [3370]: qml: Text has changed: Ghhdha
Jul 15 02:35:31 imx6 [3370]: qml: Text has changed: Ghhdhah
Jul 15 02:35:31 imx6 [3370]: qml: Text has changed: Ghhdhahe
Jul 15 02:35:33 imx6 [3370]: qml: Text has changed: Ghhdhaheh
Jul 15 02:35:33 imx6 [3370]: qml: Text has changed: Ghhdhaheht
Jul 15 02:35:35 imx6 [3370]: qml: Text has changed: Ghhdhahehth
Jul 15 02:35:36 imx6 [3370]: qml: Text has changed: Ghhdhahehthd
https://codereview.qt-project.org/c/qt/qtbase/+/141373/1/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp using this abandoned patch solves the problem.