Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86013

[evdev] protocol b touch device doesn't get release event

    XMLWordPrintable

Details

    • Linux/Yocto
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            karimpinter Karim Pinter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change